4.6.1.2 Struct bod33_config

Configuration structure for a BOD33 module.

Table 4-2. Members
TypeNameDescription
enum bod33_actionaction

Action to perform when a low power detection is made

uint8_tbackuplevel

BOD33 level to trigger at when monitors VBAT or in backup sleep mode

boolhysteresis

If true, enables detection hysteresis

uint8_tlevel

BOD33 level to trigger at when monitors VDD excpt in backup sleep mode

enum bod33_mode_in_activemode_in_active

BOD33 configuration in active mode

enum bod33_mode_in_standbymode_in_standby

BOD33 configuration in backup sleep mode

enum bod33_vol_monitormonitor

Voltage monitored in active and standby mode

enum bod33_prescaleprescaler

Input sampler clock prescaler factor, to reduce the 1KHz clock from the ULP32K to lower the sampling rate of the BOD33

boolrun_in_backup

If true, the BOD33 is kept enabled and sampled during device sleep

boolrun_in_standby

If true, the BOD33 is kept enabled and sampled during standby