Struct gd32vf103_pac::rcu::apb1rst::W
source · pub struct W(_);
Expand description
Register APB1RST
writer
Implementations§
source§impl W
impl W
sourcepub fn timer1rst(&mut self) -> TIMER1RST_W<'_, 0>
pub fn timer1rst(&mut self) -> TIMER1RST_W<'_, 0>
Bit 0 - TIMER1 timer reset
sourcepub fn timer2rst(&mut self) -> TIMER2RST_W<'_, 1>
pub fn timer2rst(&mut self) -> TIMER2RST_W<'_, 1>
Bit 1 - TIMER2 timer reset
sourcepub fn timer3rst(&mut self) -> TIMER3RST_W<'_, 2>
pub fn timer3rst(&mut self) -> TIMER3RST_W<'_, 2>
Bit 2 - TIMER3 timer reset
sourcepub fn timer4rst(&mut self) -> TIMER4RST_W<'_, 3>
pub fn timer4rst(&mut self) -> TIMER4RST_W<'_, 3>
Bit 3 - TIMER4 timer reset
sourcepub fn timer5rst(&mut self) -> TIMER5RST_W<'_, 4>
pub fn timer5rst(&mut self) -> TIMER5RST_W<'_, 4>
Bit 4 - TIMER5 timer reset
sourcepub fn timer6rst(&mut self) -> TIMER6RST_W<'_, 5>
pub fn timer6rst(&mut self) -> TIMER6RST_W<'_, 5>
Bit 5 - TIMER6 timer reset
sourcepub fn wwdgtrst(&mut self) -> WWDGTRST_W<'_, 11>
pub fn wwdgtrst(&mut self) -> WWDGTRST_W<'_, 11>
Bit 11 - Window watchdog timer reset
sourcepub fn usart1rst(&mut self) -> USART1RST_W<'_, 17>
pub fn usart1rst(&mut self) -> USART1RST_W<'_, 17>
Bit 17 - USART1 reset
sourcepub fn usart2rst(&mut self) -> USART2RST_W<'_, 18>
pub fn usart2rst(&mut self) -> USART2RST_W<'_, 18>
Bit 18 - USART2 reset
sourcepub fn uart3rst(&mut self) -> UART3RST_W<'_, 19>
pub fn uart3rst(&mut self) -> UART3RST_W<'_, 19>
Bit 19 - UART3 reset
sourcepub fn uart4rst(&mut self) -> UART4RST_W<'_, 20>
pub fn uart4rst(&mut self) -> UART4RST_W<'_, 20>
Bit 20 - UART4 reset
Methods from Deref<Target = W<APB1RST_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