Type Alias xmc4800::scu_osc::oschpctrl::ModeR

source ·
pub type ModeR = FieldReader<Mode>;
Expand description

Field MODE reader - Oscillator Mode

Aliased Type§

struct ModeR { /* private fields */ }

Implementations§

source§

impl ModeR

source

pub const fn variant(&self) -> Mode

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

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

source

pub fn is_value2(&self) -> bool

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

source

pub fn is_value3(&self) -> bool

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

source

pub fn is_value4(&self) -> bool

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