TM STM32F4xx Libraries  v1.0.0
Libraries for STM32F4xx devices from Tilen Majerle
tm_stm32f4_bor.h
1 
30 #ifndef TM_BOR_H
31 #define TM_BOR_H 100
32 
33 /* C++ detection */
34 #ifdef __cplusplus
35 extern C {
36 #endif
37 
64 #include "stm32f4xx.h"
65 #include "stm32f4xx_flash.h"
66 #include "defines.h"
67 
73 /* Macros here */
84 typedef enum {
85  TM_BOR_Level_None = OB_BOR_OFF,
86  TM_BOR_Level_1 = OB_BOR_LEVEL1,
87  TM_BOR_Level_2 = OB_BOR_LEVEL2,
88  TM_BOR_Level_3 = OB_BOR_LEVEL3
89 } TM_BOR_Level_t;
90 
91 typedef enum {
95 
106 TM_BOR_Result_t TM_BOR_Set(TM_BOR_Level_t BORValue);
107 TM_BOR_Level_t TM_BOR_Get(void);
108 
121 /* C++ detection */
122 #ifdef __cplusplus
123 }
124 #endif
125 
126 #endif
Definition: tm_stm32f4_bor.h:93
Definition: tm_stm32f4_bor.h:92
TM_BOR_Result_t
Definition: tm_stm32f4_bor.h:91