pub type BUACTPWRCON_W<'a, const O: u8> = FieldWriterSafe<'a, u32, BUCTRL_SPEC, u8, BUACTPWRCON_A, 2, O>;
Expand description

Field BUACTPWRCON writer - Power Connection Configuration in Backup Mode

Implementations§

source§

impl<'a, const O: u8> BUACTPWRCON_W<'a, O>

source

pub fn none(self) -> &'a mut W

No connection.

source

pub fn mainbu(self) -> &'a mut W

Main power and backup power are connected through a diode, allowing current to flow from backup power source to main power source, but not the other way.

source

pub fn bumain(self) -> &'a mut W

Main power and backup power are connected through a diode, allowing current to flow from main power source to backup power source, but not the other way.

source

pub fn nodiode(self) -> &'a mut W

Main power and backup power are connected without diode.