Type Alias gd32f1::gd32f190::rcu::cfg2::W

source ·
pub type W = W<Cfg2Spec>;
Expand description

Register CFG2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn usart0sel(&mut self) -> Usart0selW<'_, Cfg2Spec>

Bits 0:1 - CK_USART0 clock source selection

source

pub fn cecsel(&mut self) -> CecselW<'_, Cfg2Spec>

Bit 6 - CK_CEC clock source selection

source

pub fn adcsel(&mut self) -> AdcselW<'_, Cfg2Spec>

Bit 8 - CK_ADC clock source selection

source

pub fn irc28mdiv(&mut self) -> Irc28mdivW<'_, Cfg2Spec>

Bit 16 - CK_IRC28M divider 2 or not