Type Alias gd32e1::gd32e103::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 afen(&self) -> AfenR

Bit 0 - Alternate function IO clock enable

source

pub fn paen(&self) -> PaenR

Bit 2 - GPIO port A clock enable

source

pub fn pben(&self) -> PbenR

Bit 3 - GPIO port B clock enable

source

pub fn pcen(&self) -> PcenR

Bit 4 - GPIO port C clock enable

source

pub fn pden(&self) -> PdenR

Bit 5 - GPIO port D clock enable

source

pub fn peen(&self) -> PeenR

Bit 6 - GPIO port E clock enable

source

pub fn adc0en(&self) -> Adc0enR

Bit 9 - ADC0 clock enable

source

pub fn adc1en(&self) -> Adc1enR

Bit 10 - ADC1 clock enable

source

pub fn timer0en(&self) -> Timer0enR

Bit 11 - TIMER0 clock enable

source

pub fn spi0en(&self) -> Spi0enR

Bit 12 - SPI0 clock enable

source

pub fn timer7en(&self) -> Timer7enR

Bit 13 - TIMER7 clock enable

source

pub fn usart0en(&self) -> Usart0enR

Bit 14 - USART0 clock enable

source

pub fn timer8en(&self) -> Timer8enR

Bit 19 - TIMER8 clock enable

source

pub fn timer9en(&self) -> Timer9enR

Bit 20 - TIMER9 clock enable

source

pub fn timer10en(&self) -> Timer10enR

Bit 21 - TIMER10 clock enable