Struct bod33_config

Configuration structure for a BOD33 module.

Table 1. Members
Type Name Description
enum bod33_action action

Action to perform when a low power detection is made

uint8_t backuplevel

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

bool hysteresis

If true, enables detection hysteresis

uint8_t level

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

enum bod33_mode_in_active mode_in_active

BOD33 configuration in active mode

enum bod33_mode_in_standby mode_in_standby

BOD33 configuration in backup sleep mode

enum bod33_vol_monitor monitor

Voltage monitored in active and standby mode

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

bool run_in_backup

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

bool run_in_standby

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