pub type DCDCMODE_W<'a, const O: u8> = FieldWriterSafe<'a, u32, DCDCCTRL_SPEC, u8, DCDCMODE_A, 2, O>;
Expand description

Field DCDCMODE writer - Regulator Mode

Implementations§

source§

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

source

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

DCDC regulator is operating in bypass mode. Prior to configuring DCDCMODE=BYPASS, software must set EMU_DCDCCLIMCTRL.BYPLIMEN=1 to prevent excessive current between VREGVDD and DVDD supplies.

source

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

DCDC regulator is operating in low noise mode.

source

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

DCDC regulator is operating in low power mode.

source

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

DCDC regulator is off and the bypass switch is off. Note: DVDD must be supplied externally