Configuration structure for a BOD33 module.
#include <bod_feature.h>
Data Fields | |
enum bod33_action | action |
Action to perform when a low power detection is made. More... | |
uint8_t | backuplevel |
BOD33 level to trigger at when monitors VBAT or in backup sleep mode. More... | |
bool | hysteresis |
If true , enables detection hysteresis. More... | |
uint8_t | level |
BOD33 level to trigger at when monitors VDD excpt in backup sleep mode. More... | |
enum bod33_mode_in_active | mode_in_active |
BOD33 configuration in active mode. More... | |
enum bod33_mode_in_standby | mode_in_standby |
BOD33 configuration in backup sleep mode. More... | |
enum bod33_vol_monitor | monitor |
Voltage monitored in active and standby mode. More... | |
enum bod33_prescale | prescaler |
Input sampler clock prescaler factor, to reduce the 1KHz clock from the ULP32K to lower the sampling rate of the BOD33. More... | |
bool | run_in_backup |
If true , the BOD33 is kept enabled and sampled during device sleep. More... | |
bool | run_in_standby |
If true , the BOD33 is kept enabled and sampled during standby. More... | |
enum bod33_action bod33_config::action |
Action to perform when a low power detection is made.
Referenced by bod33_get_config_defaults(), and bod33_set_config().
uint8_t bod33_config::backuplevel |
BOD33 level to trigger at when monitors VBAT or in backup sleep mode.
Referenced by bod33_get_config_defaults(), and bod33_set_config().
bool bod33_config::hysteresis |
If true
, enables detection hysteresis.
Referenced by bod33_get_config_defaults(), and bod33_set_config().
uint8_t bod33_config::level |
BOD33 level to trigger at when monitors VDD excpt in backup sleep mode.
Referenced by bod33_get_config_defaults(), and bod33_set_config().
enum bod33_mode_in_active bod33_config::mode_in_active |
BOD33 configuration in active mode.
Referenced by bod33_get_config_defaults(), and bod33_set_config().
enum bod33_mode_in_standby bod33_config::mode_in_standby |
BOD33 configuration in backup sleep mode.
Referenced by bod33_get_config_defaults(), and bod33_set_config().
enum bod33_vol_monitor bod33_config::monitor |
Voltage monitored in active and standby mode.
Referenced by bod33_get_config_defaults(), and bod33_set_config().
enum bod33_prescale bod33_config::prescaler |
Input sampler clock prescaler factor, to reduce the 1KHz clock from the ULP32K to lower the sampling rate of the BOD33.
Referenced by bod33_get_config_defaults(), and bod33_set_config().
bool bod33_config::run_in_backup |
If true
, the BOD33 is kept enabled and sampled during device sleep.
Referenced by bod33_get_config_defaults(), and bod33_set_config().
bool bod33_config::run_in_standby |
If true
, the BOD33 is kept enabled and sampled during standby.
Referenced by bod33_get_config_defaults(), and bod33_set_config().