pub type ModeW<'a, REG> = FieldWriterSafe<'a, REG, 2, Mode>;
Expand description

Field MODE writer - Oscillator Mode

Aliased Type§

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

Implementations§

source§

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

source

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

Oscillator is enabled, in operation

source

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

Oscillator is enabled, in bypass mode

source

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

Oscillator in power down

source

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

Oscillator in power down, can be used as GPI