Go to the documentation of this file.
52 #ifndef __GR55xx_HAL_BOD_H__
53 #define __GR55xx_HAL_BOD_H__
96 #define HAL_BOD_ENABLE LL_BOD_ENABLE
97 #define HAL_BOD_DISABLE LL_BOD_DISABLE
103 #define HAL_BOD2_ENABLE LL_BOD2_ENABLE
104 #define HAL_BOD2_DISABLE LL_BOD2_DISABLE
110 #define HAL_BOD_STATIC_ENABLE LL_BOD_STATIC_ENABLE
111 #define HAL_BOD_STATIC_DISABLE LL_BOD_STATIC_DISABLE
117 #define HAL_BOD2_LEVEL_0 LL_BOD2_LEVEL_0
118 #define HAL_BOD2_LEVEL_1 LL_BOD2_LEVEL_1
119 #define HAL_BOD2_LEVEL_2 LL_BOD2_LEVEL_2
120 #define HAL_BOD2_LEVEL_3 LL_BOD2_LEVEL_3
121 #define HAL_BOD2_LEVEL_4 LL_BOD2_LEVEL_4
122 #define HAL_BOD2_LEVEL_5 LL_BOD2_LEVEL_5
123 #define HAL_BOD2_LEVEL_6 LL_BOD2_LEVEL_6
124 #define HAL_BOD2_LEVEL_7 LL_BOD2_LEVEL_7
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
LL BOD init Structure definition.
hal_status_t hal_bod2_set_level(bod_handle_t *p_bod, uint8_t level)
Set BOD2 control level.
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.
bod_init_t init
BOD configuration parameters
void hal_bod_fedge_irq_handler(bod_handle_t *p_bod)
Handle BOD fall edge interrupt request.
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.
__IO hal_lock_t lock
Locking object
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.