Go to the documentation of this file.
118 #define HAL_BOD_ENABLE LL_BOD_BOD_ENABLE
119 #define HAL_BOD_DISABLE LL_BOD_BOD_DISABLE
125 #define HAL_BOD2_ENABLE LL_BOD_BOD2_ENABLE
126 #define HAL_BOD2_DISABLE LL_BOD_BOD2_DISABLE
132 #define HAL_BOD2_LEVEL_0 LL_BOD_BOD2_LEVEL_0
133 #define HAL_BOD2_LEVEL_1 LL_BOD_BOD2_LEVEL_1
134 #define HAL_BOD2_LEVEL_2 LL_BOD_BOD2_LEVEL_2
135 #define HAL_BOD2_LEVEL_3 LL_BOD_BOD2_LEVEL_3
136 #define HAL_BOD2_LEVEL_4 LL_BOD_BOD2_LEVEL_4
137 #define HAL_BOD2_LEVEL_5 LL_BOD_BOD2_LEVEL_5
138 #define HAL_BOD2_LEVEL_6 LL_BOD_BOD2_LEVEL_6
139 #define HAL_BOD2_LEVEL_7 LL_BOD_BOD2_LEVEL_7
145 #define HAL_BOD2_AUTO_POWER_BYPASS_ENABLE LL_BOD_BOD2_AUTO_POWER_BYPASS_ENABLE
146 #define HAL_BOD2_AUTO_POWER_BYPASS_DISABLE LL_BOD_BOD2_AUTO_POWER_BYPASS_DISABLE
152 #define HAL_BOD_STATIC_ENABLE LL_BOD_STATIC_ENABLE
153 #define HAL_BOD_STATIC_DISABLE LL_BOD_STATIC_DISABLE
hal_status_t hal_bod2_auto_power_bypass_enable(bod_handle_t *p_bod, uint8_t enable)
enable/disable auto power bypass mode
BOD handle Structure definition.
ll_bod_init_t bod_init_t
BOD init structure definition.
struct _bod_handle bod_handle_t
BOD handle Structure definition.
hal_status_t hal_bod_enable(bod_handle_t *p_bod, uint8_t enable)
enable bod
hal_status_t hal_bod2_enable(bod_handle_t *p_bod, uint8_t enable)
enable bod2
void(* bod_redge_callback)(bod_handle_t *p_bod)
HAL BOD Callback function definition.
LL BOD init Structure definition.
void hal_bod_redge_irq_handler(bod_handle_t *p_bod)
Handle BOD rise edge interrupt request.
hal_status_t hal_bod2_set_level(bod_handle_t *p_bod, uint8_t level)
Set BOD2 control level.
struct _hal_bod_callback hal_bod_callback_t
HAL BOD Callback function definition.
hal_status_t hal_bod_static_mode_enable(bod_handle_t *p_bod, uint8_t enable)
enable/disable static mode
Header file containing functions prototypes of CALENDAR LL library.
void(* bod_fedge_callback)(bod_handle_t *p_bod)
hal_status_t hal_bod_init(const bod_handle_t *p_bod)
Initialize the BOD according to the specified parameters in the bod_init_t and initialize the associa...
void hal_bod_fedge_irq_handler(bod_handle_t *p_bod)
Handle BOD fall edge interrupt request.
void(* bod_msp_deinit)(bod_handle_t *p_bod)
hal_status_t
HAL Status structures definition.
This file contains HAL common definitions, enumeration, macros and structures definitions.
void hal_bod_fedge_callback(bod_handle_t *p_bod)
BOD fall edge callback.
void hal_bod_msp_deinit(bod_handle_t *p_bod)
De-initialize the BOD MSP.
hal_status_t hal_bod_deinit(const bod_handle_t *p_bod)
De-initialize the BOD peripheral.
void hal_bod_redge_callback(bod_handle_t *p_bod)
BOD rise edge callback.
void(* bod_msp_init)(bod_handle_t *p_bod)
void hal_bod_msp_init(bod_handle_t *p_bod)
Initialize the BOD MSP.