Configuration structure for a BODVDD module.
#include <bod_feature.h>
Data Fields | |
enum bodvdd_action | action |
Action to perform when a low power detection is made. More... | |
bool | hysteresis |
If true , enables detection hysteresis. More... | |
uint8_t | level |
BODVDD level to trigger at when monitors VDD except in backup sleep mode. More... | |
enum bodvdd_mode_in_active | mode_in_active |
BODVDD configuration in active mode. More... | |
enum bodvdd_mode_in_standby | mode_in_standby |
BODVDD configuration in backup sleep mode. More... | |
enum bodvdd_prescale | prescaler |
Input sampler clock prescaler factor, to reduce the 1kHz clock from the ULP32K to lower the sampling rate of the BODVDD. More... | |
bool | run_in_standby |
If true , the BODVDD is kept enabled and sampled during standby. More... | |
enum bodvdd_action bodvdd_config::action |
Action to perform when a low power detection is made.
Referenced by bodvdd_get_config_defaults(), and bodvdd_set_config().
bool bodvdd_config::hysteresis |
If true
, enables detection hysteresis.
Referenced by bodvdd_get_config_defaults(), and bodvdd_set_config().
uint8_t bodvdd_config::level |
BODVDD level to trigger at when monitors VDD except in backup sleep mode.
Referenced by bodvdd_get_config_defaults(), and bodvdd_set_config().
enum bodvdd_mode_in_active bodvdd_config::mode_in_active |
BODVDD configuration in active mode.
Referenced by bodvdd_get_config_defaults(), and bodvdd_set_config().
enum bodvdd_mode_in_standby bodvdd_config::mode_in_standby |
BODVDD configuration in backup sleep mode.
Referenced by bodvdd_get_config_defaults(), and bodvdd_set_config().
enum bodvdd_prescale bodvdd_config::prescaler |
Input sampler clock prescaler factor, to reduce the 1kHz clock from the ULP32K to lower the sampling rate of the BODVDD.
Referenced by bodvdd_get_config_defaults(), and bodvdd_set_config().
bool bodvdd_config::run_in_standby |
If true
, the BODVDD is kept enabled and sampled during standby.
Referenced by bodvdd_get_config_defaults(), and bodvdd_set_config().