Struct gd32vf103_pac::rcu::apb1en::W
source · pub struct W(_);
Expand description
Register APB1EN
writer
Implementations§
source§impl W
impl W
sourcepub fn timer1en(&mut self) -> TIMER1EN_W<'_, 0>
pub fn timer1en(&mut self) -> TIMER1EN_W<'_, 0>
Bit 0 - TIMER1 timer clock enable
sourcepub fn timer2en(&mut self) -> TIMER2EN_W<'_, 1>
pub fn timer2en(&mut self) -> TIMER2EN_W<'_, 1>
Bit 1 - TIMER2 timer clock enable
sourcepub fn timer3en(&mut self) -> TIMER3EN_W<'_, 2>
pub fn timer3en(&mut self) -> TIMER3EN_W<'_, 2>
Bit 2 - TIMER3 timer clock enable
sourcepub fn timer4en(&mut self) -> TIMER4EN_W<'_, 3>
pub fn timer4en(&mut self) -> TIMER4EN_W<'_, 3>
Bit 3 - TIMER4 timer clock enable
sourcepub fn timer5en(&mut self) -> TIMER5EN_W<'_, 4>
pub fn timer5en(&mut self) -> TIMER5EN_W<'_, 4>
Bit 4 - TIMER5 timer clock enable
sourcepub fn timer6en(&mut self) -> TIMER6EN_W<'_, 5>
pub fn timer6en(&mut self) -> TIMER6EN_W<'_, 5>
Bit 5 - TIMER6 timer clock enable
sourcepub fn usart1en(&mut self) -> USART1EN_W<'_, 17>
pub fn usart1en(&mut self) -> USART1EN_W<'_, 17>
Bit 17 - USART1 clock enable
sourcepub fn usart2en(&mut self) -> USART2EN_W<'_, 18>
pub fn usart2en(&mut self) -> USART2EN_W<'_, 18>
Bit 18 - USART2 clock enable
Methods from Deref<Target = W<APB1EN_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more