Type Alias atsame54n::supc::bod33::R

source ·
pub type R = R<BOD33_SPEC>;
Expand description

Register BOD33 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Enable

source

pub fn action(&self) -> ACTION_R

Bits 2:3 - Action when Threshold Crossed

source

pub fn stdbycfg(&self) -> STDBYCFG_R

Bit 4 - Configuration in Standby mode

source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 5 - Run in Standby mode

source

pub fn runhib(&self) -> RUNHIB_R

Bit 6 - Run in Hibernate mode

source

pub fn runbkup(&self) -> RUNBKUP_R

Bit 7 - Run in Backup mode

source

pub fn hyst(&self) -> HYST_R

Bits 8:11 - Hysteresis value

source

pub fn psel(&self) -> PSEL_R

Bits 12:14 - Prescaler Select

source

pub fn level(&self) -> LEVEL_R

Bits 16:23 - Threshold Level for VDD

source

pub fn vbatlevel(&self) -> VBATLEVEL_R

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