Type Alias W

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

Register BOD33 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn enable(&mut self) -> EnableW<'_, Bod33Spec>

Bit 1 - Enable

Source

pub fn action(&mut self) -> ActionW<'_, Bod33Spec>

Bits 2:3 - Action when Threshold Crossed

Source

pub fn stdbycfg(&mut self) -> StdbycfgW<'_, Bod33Spec>

Bit 4 - Configuration in Standby mode

Source

pub fn runstdby(&mut self) -> RunstdbyW<'_, Bod33Spec>

Bit 5 - Run in Standby mode

Source

pub fn runhib(&mut self) -> RunhibW<'_, Bod33Spec>

Bit 6 - Run in Hibernate mode

Source

pub fn runbkup(&mut self) -> RunbkupW<'_, Bod33Spec>

Bit 7 - Run in Backup mode

Source

pub fn hyst(&mut self) -> HystW<'_, Bod33Spec>

Bits 8:11 - Hysteresis value

Source

pub fn psel(&mut self) -> PselW<'_, Bod33Spec>

Bits 12:14 - Prescaler Select

Source

pub fn level(&mut self) -> LevelW<'_, Bod33Spec>

Bits 16:23 - Threshold Level for VDD

Source

pub fn vbatlevel(&mut self) -> VbatlevelW<'_, Bod33Spec>

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