Type Alias gd32f1::gd32f130::rcu::cfg2::Usart0selR

source ·
pub type Usart0selR = FieldReader<Usart0sel>;
Expand description

Field USART0SEL reader - CK_USART0 clock source selection

Aliased Type§

struct Usart0selR { /* private fields */ }

Implementations§

source§

impl Usart0selR

source

pub const fn variant(&self) -> Usart0sel

Get enumerated values variant

source

pub fn is_apb2(&self) -> bool

APB2 selected as USART0 clock source

source

pub fn is_sys(&self) -> bool

SYS selected as USART0 clock source

source

pub fn is_lxtal(&self) -> bool

LXTAL selected as USART0 clock source

source

pub fn is_irc8m(&self) -> bool

IRC8M selected as USART0 clock source