Type Alias xmc4300::scu_osc::oschpctrl::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 const_00(self) -> &'a mut W<REG>

External Crystal Mode and External Input Clock Mode. The oscillator Power-Saving Mode is not entered.

source

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

OSC is disabled. The oscillator Power-Saving Mode is not entered.

source

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

External Input Clock Mode and the oscillator Power-Saving Mode is entered

source

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

OSC is disabled. The oscillator Power-Saving Mode is entered.