Type Alias gd32e1::gd32e103::rcu::cfg0::CkoutselR

source ·
pub type CkoutselR = FieldReader<Ckoutsel>;
Expand description

Field CKOUTSEL reader - CKOUT0 Clock Source Selection

Aliased Type§

struct CkoutselR { /* private fields */ }

Implementations§

source§

impl CkoutselR

source

pub const fn variant(&self) -> Option<Ckoutsel>

Get enumerated values variant

source

pub fn is_none(&self) -> bool

No clock selected

source

pub fn is_irc14m(&self) -> bool

Internal 14 MHz RC oscillator clock selected

source

pub fn is_lsi40k(&self) -> bool

Internal 40 kHz RC oscillator clock selected

source

pub fn is_lxtal(&self) -> bool

External low speed oscillator clock selected

source

pub fn is_sysclk(&self) -> bool

System clock selected

source

pub fn is_irc8m(&self) -> bool

Internal RC 8 MHz (HSI) oscillator clock selected

source

pub fn is_hxtal(&self) -> bool

External 4-32 MHz (HSE) oscillator clock selected

source

pub fn is_pll(&self) -> bool

PLL clock selected (divided by 1 or 2, depending on PLLDV)