Go to the documentation of this file.
52 #ifndef __GR55xx_HAL_BOD_H__
53 #define __GR55xx_HAL_BOD_H__
119 #define HAL_BOD_ENABLE LL_BOD_ENABLE
120 #define HAL_BOD_DISABLE LL_BOD_DISABLE
126 #define HAL_BOD2_ENABLE LL_BOD2_ENABLE
127 #define HAL_BOD2_DISABLE LL_BOD2_DISABLE
133 #define HAL_BOD_STATIC_ENABLE LL_BOD_STATIC_ENABLE
134 #define HAL_BOD_STATIC_DISABLE LL_BOD_STATIC_DISABLE
140 #define HAL_BOD2_LEVEL_0 LL_BOD2_LEVEL_0
141 #define HAL_BOD2_LEVEL_1 LL_BOD2_LEVEL_1
142 #define HAL_BOD2_LEVEL_2 LL_BOD2_LEVEL_2
143 #define HAL_BOD2_LEVEL_3 LL_BOD2_LEVEL_3
144 #define HAL_BOD2_LEVEL_4 LL_BOD2_LEVEL_4
145 #define HAL_BOD2_LEVEL_5 LL_BOD2_LEVEL_5
146 #define HAL_BOD2_LEVEL_6 LL_BOD2_LEVEL_6
147 #define HAL_BOD2_LEVEL_7 LL_BOD2_LEVEL_7
148 #define HAL_BOD2_LEVEL_8 LL_BOD2_LEVEL_8
149 #define HAL_BOD2_LEVEL_9 LL_BOD2_LEVEL_9
150 #define HAL_BOD2_LEVEL_10 LL_BOD2_LEVEL_10
151 #define HAL_BOD2_LEVEL_11 LL_BOD2_LEVEL_11
152 #define HAL_BOD2_LEVEL_12 LL_BOD2_LEVEL_12
153 #define HAL_BOD2_LEVEL_13 LL_BOD2_LEVEL_13
154 #define HAL_BOD2_LEVEL_14 LL_BOD2_LEVEL_14
155 #define HAL_BOD2_LEVEL_15 LL_BOD2_LEVEL_15
BOD handle Structure definition.
hal_lock_t
HAL Lock structures 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_deinit(bod_handle_t *p_bod)
De-initialize the BOD peripheral.
hal_status_t hal_bod_init(bod_handle_t *p_bod)
Initialize the BOD according to the specified parameters in the bod_init_t and initialize the associa...
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)
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.
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.
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.
This file contains HAL common definitions, enumeration, macros and structures definitions.