Type Alias xmc4400::scu_hibernate::osculctrl::MODE_W

source ·
pub type MODE_W<'a, REG> = FieldWriter<'a, REG, 2, MODE_A, Safe>;
Expand description

Field MODE writer - Oscillator Mode

Aliased Type§

struct MODE_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> MODE_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn value1(self) -> &'a mut W<REG>

Oscillator is enabled, in operation

source

pub fn value2(self) -> &'a mut W<REG>

Oscillator is enabled, in bypass mode

source

pub fn value3(self) -> &'a mut W<REG>

Oscillator in power down

source

pub fn value4(self) -> &'a mut W<REG>

Oscillator in power down, can be used as GPI