Go to the documentation of this file.
52 #ifndef __GR55xx_HAL_BOD_H__
53 #define __GR55xx_HAL_BOD_H__
114 #define HAL_BOD_ENABLE LL_BOD_ENABLE
115 #define HAL_BOD_DISABLE LL_BOD_DISABLE
121 #define HAL_BOD2_ENABLE LL_BOD2_ENABLE
122 #define HAL_BOD2_DISABLE LL_BOD2_DISABLE
128 #define HAL_BOD_STATIC_ENABLE LL_BOD_STATIC_ENABLE
129 #define HAL_BOD_STATIC_DISABLE LL_BOD_STATIC_DISABLE
135 #define HAL_BOD2_LEVEL_0 LL_BOD2_LEVEL_0
136 #define HAL_BOD2_LEVEL_1 LL_BOD2_LEVEL_1
137 #define HAL_BOD2_LEVEL_2 LL_BOD2_LEVEL_2
138 #define HAL_BOD2_LEVEL_3 LL_BOD2_LEVEL_3
139 #define HAL_BOD2_LEVEL_4 LL_BOD2_LEVEL_4
140 #define HAL_BOD2_LEVEL_5 LL_BOD2_LEVEL_5
141 #define HAL_BOD2_LEVEL_6 LL_BOD2_LEVEL_6
142 #define HAL_BOD2_LEVEL_7 LL_BOD2_LEVEL_7
143 #define HAL_BOD2_LEVEL_8 LL_BOD2_LEVEL_8
144 #define HAL_BOD2_LEVEL_9 LL_BOD2_LEVEL_9
145 #define HAL_BOD2_LEVEL_10 LL_BOD2_LEVEL_10
146 #define HAL_BOD2_LEVEL_11 LL_BOD2_LEVEL_11
147 #define HAL_BOD2_LEVEL_12 LL_BOD2_LEVEL_12
148 #define HAL_BOD2_LEVEL_13 LL_BOD2_LEVEL_13
149 #define HAL_BOD2_LEVEL_14 LL_BOD2_LEVEL_14
150 #define HAL_BOD2_LEVEL_15 LL_BOD2_LEVEL_15
BOD handle Structure definition.
void hal_bod_fedge_irq_handler(bod_handle_t *p_bod)
Handle BOD fall edge interrupt request.
hal_lock_t
HAL Lock structures definition.
hal_status_t hal_bod2_enable(bod_handle_t *p_bod, uint8_t enable)
enable bod2
ll_bod_init_t bod_init_t
BOD init structure definition.
void hal_bod_msp_deinit(bod_handle_t *p_bod)
De-initialize the BOD MSP.
void hal_bod_msp_init(bod_handle_t *p_bod)
Initialize the BOD MSP.
void hal_bod_fedge_callback(bod_handle_t *p_bod)
BOD fall edge callback.
hal_status_t hal_bod_enable(bod_handle_t *p_bod, uint8_t enable)
enable bod
void(* bod_redge_callback)(bod_handle_t *p_bod)
BOD conversion completed callback.
HAL BOD Callback function definition.
LL BOD init Structure definition.
hal_status_t hal_bod_static_mode_enable(bod_handle_t *p_bod, uint8_t enable)
enable/disable static mode
struct _bod_handle bod_handle_t
BOD handle Structure definition.
void hal_bod_redge_callback(bod_handle_t *p_bod)
BOD rise edge callback.
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...
Header file containing functions prototypes of CALENDAR LL library.
void(* bod_fedge_callback)(bod_handle_t *p_bod)
BOD conversion completed callback.
bod_init_t init
BOD configuration parameters
hal_status_t hal_bod_deinit(bod_handle_t *p_bod)
De-initialize the BOD peripheral.
struct _hal_bod_callback hal_bod_callback_t
HAL BOD Callback function definition.
void(* bod_msp_deinit)(bod_handle_t *p_bod)
BOD de-init MSP callback
hal_status_t
HAL Status structures 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.
__IO hal_lock_t lock
Locking object
void(* bod_msp_init)(bod_handle_t *p_bod)
BOD init MSP callback
This file contains HAL common definitions, enumeration, macros and structures definitions.