Go to the documentation of this file.
44 #ifdef HAL_BOD_MODULE_ENABLED
95 #define APP_BOD_ENABLE HAL_BOD_ENABLE
96 #define APP_BOD_DISABLE HAL_BOD_DISABLE
102 #define APP_BOD_EVENT_ENABLE HAL_BOD2_ENABLE
103 #define APP_BOD_EVENT_DISABLE HAL_BOD2_DISABLE
109 #define APP_BOD_STATIC_ENABLE HAL_BOD_STATIC_ENABLE
110 #define APP_BOD_STATIC_DISABLE HAL_BOD_STATIC_DISABLE
116 #define APP_BOD_EVENT_LEVEL_0 HAL_BOD2_LEVEL_0
117 #define APP_BOD_EVENT_LEVEL_1 HAL_BOD2_LEVEL_1
118 #define APP_BOD_EVENT_LEVEL_2 HAL_BOD2_LEVEL_2
119 #define APP_BOD_EVENT_LEVEL_3 HAL_BOD2_LEVEL_3
120 #define APP_BOD_EVENT_LEVEL_4 HAL_BOD2_LEVEL_4
121 #define APP_BOD_EVENT_LEVEL_5 HAL_BOD2_LEVEL_5
122 #define APP_BOD_EVENT_LEVEL_6 HAL_BOD2_LEVEL_6
123 #define APP_BOD_EVENT_LEVEL_7 HAL_BOD2_LEVEL_7
124 #if (APP_DRIVER_CHIP_TYPE == APP_DRIVER_GR5526X)
125 #define APP_BOD_EVENT_LEVEL_8 HAL_BOD2_LEVEL_8
126 #define APP_BOD_EVENT_LEVEL_9 HAL_BOD2_LEVEL_9
127 #define APP_BOD_EVENT_LEVEL_10 HAL_BOD2_LEVEL_10
128 #define APP_BOD_EVENT_LEVEL_11 HAL_BOD2_LEVEL_11
129 #define APP_BOD_EVENT_LEVEL_12 HAL_BOD2_LEVEL_12
130 #define APP_BOD_EVENT_LEVEL_13 HAL_BOD2_LEVEL_13
131 #define APP_BOD_EVENT_LEVEL_14 HAL_BOD2_LEVEL_14
132 #define APP_BOD_EVENT_LEVEL_15 HAL_BOD2_LEVEL_15
136 #if (APP_DRIVER_CHIP_TYPE == APP_DRIVER_GR5332X)
140 #define APP_BOD_EVENT_AUTO_POWER_BYPASS_ENABLE HAL_BOD2_AUTO_POWER_BYPASS_ENABLE
141 #define APP_BOD_EVENT_AUTO_POWER_BYPASS_DISABLE HAL_BOD2_AUTO_POWER_BYPASS_DISABLE
270 #if (APP_DRIVER_CHIP_TYPE == APP_DRIVER_GR5332X)
280 uint16_t app_bod_event_auto_power_bypass_enable(uint8_t enable);
294 #endif //END #ifdef HAL_BOD_MODULE_ENABLED
295 #endif //END #ifndef _APP_BOD_H_
BOD handle Structure definition.
uint16_t app_bod_init(app_bod_params_t *p_params, app_bod_evt_handler_t evt_handler)
Initialize the APP BOD DRIVER.
uint16_t app_bod_static_mode_enable(uint8_t enable)
Enable or disable static mode.
BOD event structure definition.
BOD parameters structure definition.
uint16_t app_bod_enable(uint8_t enable)
Enable or disable hardware BOD.
BOD device structure definition.
LL BOD init Structure definition.
uint16_t app_bod_event_set_level(uint8_t level)
Set BOD EVENT control level..
app_bod_state_t bod_state
This file contains all the functions prototypes for the HAL module driver.
uint16_t app_bod_event_enable(uint8_t enable)
Enable or disable BOD Event.
void(* app_bod_evt_handler_t)(app_bod_evt_t *p_evt)
BOD event callback definition.
app_bod_evt_type_t
BOD event Enumerations definition.
uint16_t app_bod_deinit(void)
De-initialize the APP BOD DRIVER.
app_bod_state_t
App bod state types.
Header file of app driver error code.
Header file of app driver config code.
app_bod_evt_handler_t evt_handler