Type Alias gd32f1::gd32f190::rcu::cfg0::CkoutselW

source ·
pub type CkoutselW<'a, REG> = FieldWriterSafe<'a, REG, 3, Ckoutsel>;
Expand description

Field CKOUTSEL writer - CK_OUT Clock Source Selection

Aliased Type§

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

Implementations§

source§

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

source

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

No clock selected

source

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

Internal 14 MHz RC oscillator clock selected

source

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

Internal 40 kHz RC oscillator clock selected

source

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

External low speed oscillator clock selected

source

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

System clock selected

source

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

Internal RC 8 MHz (HSI) oscillator clock selected

source

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

External 4-32 MHz (HSE) oscillator clock selected

source

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

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