Functions | |
uint16_t | app_bod_init (app_bod_params_t *p_params, app_bod_evt_handler_t evt_handler) |
Initialize the APP BOD DRIVER. More... | |
uint16_t | app_bod_deinit (void) |
De-initialize the APP BOD DRIVER. More... | |
uint16_t | app_bod_enable (uint8_t enable) |
Enable or disable hardware BOD. More... | |
uint16_t | app_bod_event_enable (uint8_t enable) |
Enable or disable BOD Event. More... | |
uint16_t | app_bod_event_set_level (uint8_t level) |
Set BOD EVENT control level.. More... | |
uint16_t | app_bod_static_mode_enable (uint8_t enable) |
Enable or disable static mode. More... | |
uint16_t app_bod_deinit | ( | void | ) |
De-initialize the APP BOD DRIVER.
uint16_t app_bod_enable | ( | uint8_t | enable | ) |
Enable or disable hardware BOD.
[in] | enable | bod enable flag. the value can be APP_BOD_ENABLE or APP_BOD_DISABLE. |
uint16_t app_bod_event_enable | ( | uint8_t | enable | ) |
Enable or disable BOD Event.
[in] | enable | bod event enable flag. the value can be APP_BOD_EVENT_ENABLE or APP_BOD_EVENT_DISABLE. |
uint16_t app_bod_event_set_level | ( | uint8_t | level | ) |
Set BOD EVENT control level..
[in] | level | the level of bod event control.the value range between 0x0 ~ 0xF. |
uint16_t app_bod_init | ( | app_bod_params_t * | p_params, |
app_bod_evt_handler_t | evt_handler | ||
) |
Initialize the APP BOD DRIVER.
[in] | p_params | Pointer to app_bod_params_t parameter which contains the configuration information for the specified BOD module. |
[in] | evt_handler | BOD user callback function. |
uint16_t app_bod_static_mode_enable | ( | uint8_t | enable | ) |
Enable or disable static mode.
[in] | enable | static mode enable flag. the value can be APP_BOD_STATIC_ENABLE or APP_BOD_STATIC_DISABLE. |