Type Alias gd32f1::gd32f130::rcu::cfg0::ScsW

source ·
pub type ScsW<'a, REG> = FieldWriter<'a, REG, 2, Scs>;
Expand description

Field SCS writer - System clock switch

Aliased Type§

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

Implementations§

source§

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

source

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

IRC8M used as system clock

source

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

HXTAL used as system clock

source

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

PLL used as system clock