Type Alias gd32e1::gd32e103::rcu::apb1en::W

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

Register APB1EN writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn timer1en(&mut self) -> Timer1enW<'_, Apb1enSpec>

Bit 0 - TIMER1 timer clock enable

source

pub fn timer2en(&mut self) -> Timer2enW<'_, Apb1enSpec>

Bit 1 - TIMER2 timer clock enable

source

pub fn timer3en(&mut self) -> Timer3enW<'_, Apb1enSpec>

Bit 2 - TIMER3 timer clock enable

source

pub fn timer4en(&mut self) -> Timer4enW<'_, Apb1enSpec>

Bit 3 - TIMER4 timer clock enable

source

pub fn timer5en(&mut self) -> Timer5enW<'_, Apb1enSpec>

Bit 4 - TIMER5 timer clock enable

source

pub fn timer6en(&mut self) -> Timer6enW<'_, Apb1enSpec>

Bit 5 - TIMER6 timer clock enable

source

pub fn timer11en(&mut self) -> Timer11enW<'_, Apb1enSpec>

Bit 6 - TIMER11 timer clock enable

source

pub fn timer12en(&mut self) -> Timer12enW<'_, Apb1enSpec>

Bit 7 - TIMER12 timer clock enable

source

pub fn timer13en(&mut self) -> Timer13enW<'_, Apb1enSpec>

Bit 8 - TIMER13 timer clock enable

source

pub fn wwdgten(&mut self) -> WwdgtenW<'_, Apb1enSpec>

Bit 11 - Window watchdog timer clock enable

source

pub fn spi1en(&mut self) -> Spi1enW<'_, Apb1enSpec>

Bit 14 - SPI1 clock enable

source

pub fn spi2en(&mut self) -> Spi2enW<'_, Apb1enSpec>

Bit 15 - SPI2 clock enable

source

pub fn usart1en(&mut self) -> Usart1enW<'_, Apb1enSpec>

Bit 17 - USART1 clock enable

source

pub fn usart2en(&mut self) -> Usart2enW<'_, Apb1enSpec>

Bit 18 - USART2 clock enable

source

pub fn uart3en(&mut self) -> Uart3enW<'_, Apb1enSpec>

Bit 19 - UART3 clock enable

source

pub fn uart4en(&mut self) -> Uart4enW<'_, Apb1enSpec>

Bit 20 - UART4 clock enable

source

pub fn i2c0en(&mut self) -> I2c0enW<'_, Apb1enSpec>

Bit 21 - I2C0 clock enable

source

pub fn i2c1en(&mut self) -> I2c1enW<'_, Apb1enSpec>

Bit 22 - I2C1 clock enable

source

pub fn can0en(&mut self) -> Can0enW<'_, Apb1enSpec>

Bit 25 - CAN0 clock enable

source

pub fn can1en(&mut self) -> Can1enW<'_, Apb1enSpec>

Bit 26 - CAN1 clock enable

source

pub fn bkpien(&mut self) -> BkpienW<'_, Apb1enSpec>

Bit 27 - Backup interface clock enable

source

pub fn pmuen(&mut self) -> PmuenW<'_, Apb1enSpec>

Bit 28 - Power control clock enable

source

pub fn dacen(&mut self) -> DacenW<'_, Apb1enSpec>

Bit 29 - DAC clock enable