pub type W = W<Apb1enSpec>;
Expand description
Register APB1EN
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn timer1en(&mut self) -> Timer1enW<'_, Apb1enSpec>
pub fn timer1en(&mut self) -> Timer1enW<'_, Apb1enSpec>
Bit 0 - TIMER1 timer clock enable
sourcepub fn timer2en(&mut self) -> Timer2enW<'_, Apb1enSpec>
pub fn timer2en(&mut self) -> Timer2enW<'_, Apb1enSpec>
Bit 1 - TIMER2 timer clock enable
sourcepub fn timer3en(&mut self) -> Timer3enW<'_, Apb1enSpec>
pub fn timer3en(&mut self) -> Timer3enW<'_, Apb1enSpec>
Bit 2 - TIMER3 timer clock enable
sourcepub fn timer4en(&mut self) -> Timer4enW<'_, Apb1enSpec>
pub fn timer4en(&mut self) -> Timer4enW<'_, Apb1enSpec>
Bit 3 - TIMER4 timer clock enable
sourcepub fn timer5en(&mut self) -> Timer5enW<'_, Apb1enSpec>
pub fn timer5en(&mut self) -> Timer5enW<'_, Apb1enSpec>
Bit 4 - TIMER5 timer clock enable
sourcepub fn timer6en(&mut self) -> Timer6enW<'_, Apb1enSpec>
pub fn timer6en(&mut self) -> Timer6enW<'_, Apb1enSpec>
Bit 5 - TIMER6 timer clock enable
sourcepub fn timer11en(&mut self) -> Timer11enW<'_, Apb1enSpec>
pub fn timer11en(&mut self) -> Timer11enW<'_, Apb1enSpec>
Bit 6 - TIMER11 timer clock enable
sourcepub fn timer12en(&mut self) -> Timer12enW<'_, Apb1enSpec>
pub fn timer12en(&mut self) -> Timer12enW<'_, Apb1enSpec>
Bit 7 - TIMER12 timer clock enable
sourcepub fn timer13en(&mut self) -> Timer13enW<'_, Apb1enSpec>
pub fn timer13en(&mut self) -> Timer13enW<'_, Apb1enSpec>
Bit 8 - TIMER13 timer clock enable
sourcepub fn wwdgten(&mut self) -> WwdgtenW<'_, Apb1enSpec>
pub fn wwdgten(&mut self) -> WwdgtenW<'_, Apb1enSpec>
Bit 11 - Window watchdog timer clock enable
sourcepub fn spi1en(&mut self) -> Spi1enW<'_, Apb1enSpec>
pub fn spi1en(&mut self) -> Spi1enW<'_, Apb1enSpec>
Bit 14 - SPI1 clock enable
sourcepub fn spi2en(&mut self) -> Spi2enW<'_, Apb1enSpec>
pub fn spi2en(&mut self) -> Spi2enW<'_, Apb1enSpec>
Bit 15 - SPI2 clock enable
sourcepub fn usart1en(&mut self) -> Usart1enW<'_, Apb1enSpec>
pub fn usart1en(&mut self) -> Usart1enW<'_, Apb1enSpec>
Bit 17 - USART1 clock enable
sourcepub fn usart2en(&mut self) -> Usart2enW<'_, Apb1enSpec>
pub fn usart2en(&mut self) -> Usart2enW<'_, Apb1enSpec>
Bit 18 - USART2 clock enable
sourcepub fn uart3en(&mut self) -> Uart3enW<'_, Apb1enSpec>
pub fn uart3en(&mut self) -> Uart3enW<'_, Apb1enSpec>
Bit 19 - UART3 clock enable
sourcepub fn uart4en(&mut self) -> Uart4enW<'_, Apb1enSpec>
pub fn uart4en(&mut self) -> Uart4enW<'_, Apb1enSpec>
Bit 20 - UART4 clock enable
sourcepub fn i2c0en(&mut self) -> I2c0enW<'_, Apb1enSpec>
pub fn i2c0en(&mut self) -> I2c0enW<'_, Apb1enSpec>
Bit 21 - I2C0 clock enable
sourcepub fn i2c1en(&mut self) -> I2c1enW<'_, Apb1enSpec>
pub fn i2c1en(&mut self) -> I2c1enW<'_, Apb1enSpec>
Bit 22 - I2C1 clock enable
sourcepub fn can0en(&mut self) -> Can0enW<'_, Apb1enSpec>
pub fn can0en(&mut self) -> Can0enW<'_, Apb1enSpec>
Bit 25 - CAN0 clock enable
sourcepub fn can1en(&mut self) -> Can1enW<'_, Apb1enSpec>
pub fn can1en(&mut self) -> Can1enW<'_, Apb1enSpec>
Bit 26 - CAN1 clock enable
sourcepub fn bkpien(&mut self) -> BkpienW<'_, Apb1enSpec>
pub fn bkpien(&mut self) -> BkpienW<'_, Apb1enSpec>
Bit 27 - Backup interface clock enable
sourcepub fn pmuen(&mut self) -> PmuenW<'_, Apb1enSpec>
pub fn pmuen(&mut self) -> PmuenW<'_, Apb1enSpec>
Bit 28 - Power control clock enable
sourcepub fn dacen(&mut self) -> DacenW<'_, Apb1enSpec>
pub fn dacen(&mut self) -> DacenW<'_, Apb1enSpec>
Bit 29 - DAC clock enable