Type Alias gd32f1::gd32f130::rcu::apb2en::R

source ·
pub type R = R<Apb2enSpec>;
Expand description

Register APB2EN reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn cfgcmpen(&self) -> CfgcmpenR

Bit 0 - System configuration and comparator clock enable

source

pub fn adcen(&self) -> AdcenR

Bit 9 - ADC interface clock enable

source

pub fn timer0en(&self) -> Timer0enR

Bit 11 - TIMER0 timer clock enable

source

pub fn spi0en(&self) -> Spi0enR

Bit 12 - SPI0 clock enable

source

pub fn usart0en(&self) -> Usart0enR

Bit 14 - USART0 clock enable

source

pub fn timer14en(&self) -> Timer14enR

Bit 16 - TIMER14 timer clock enable

source

pub fn timer15en(&self) -> Timer15enR

Bit 17 - TIMER15 timer clock enable

source

pub fn timer16en(&self) -> Timer16enR

Bit 18 - TIMER16 timer clock enable