Type Alias R

Source
pub type R = R<Bod33Spec>;
Expand description

Register BOD33 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn enable(&self) -> EnableR

Bit 1 - Enable

Source

pub fn action(&self) -> ActionR

Bits 2:3 - Action when Threshold Crossed

Source

pub fn stdbycfg(&self) -> StdbycfgR

Bit 4 - Configuration in Standby mode

Source

pub fn runstdby(&self) -> RunstdbyR

Bit 5 - Run in Standby mode

Source

pub fn runhib(&self) -> RunhibR

Bit 6 - Run in Hibernate mode

Source

pub fn runbkup(&self) -> RunbkupR

Bit 7 - Run in Backup mode

Source

pub fn hyst(&self) -> HystR

Bits 8:11 - Hysteresis value

Source

pub fn psel(&self) -> PselR

Bits 12:14 - Prescaler Select

Source

pub fn level(&self) -> LevelR

Bits 16:23 - Threshold Level for VDD

Source

pub fn vbatlevel(&self) -> VbatlevelR

Bits 24:31 - Threshold Level in battery backup sleep mode for VBAT