pub struct W(_);
Expand description
Register APB1RSTR
writer
Implementations
sourceimpl W
impl W
sourcepub fn lptim1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 31>
pub fn lptim1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 31>
Bit 31 - Low power timer reset
sourcepub fn pwrrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 28>
pub fn pwrrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 28>
Bit 28 - Power interface reset
sourcepub fn i2c2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 22>
pub fn i2c2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 22>
Bit 22 - I2C2 reset
sourcepub fn i2c1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 21>
pub fn i2c1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 21>
Bit 21 - I2C1 reset
sourcepub fn lpuart1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 18>
pub fn lpuart1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 18>
Bit 18 - LPUART1 reset
sourcepub fn usart2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 17>
pub fn usart2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 17>
Bit 17 - USART2 reset
sourcepub fn spi2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 14>
pub fn spi2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 14>
Bit 14 - SPI2 reset
sourcepub fn wwdgrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 11>
pub fn wwdgrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 11>
Bit 11 - Window watchdog reset
sourcepub fn tim6rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 4>
pub fn tim6rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 4>
Bit 4 - Timer 6 reset
sourcepub fn tim2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 0>
pub fn tim2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 0>
Bit 0 - Timer 2 reset
sourcepub fn tim3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 1>
pub fn tim3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 1>
Bit 1 - Timer 3 reset
sourcepub fn tim7rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 5>
pub fn tim7rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 5>
Bit 5 - Timer 7 reset
sourcepub fn usart4rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 19>
pub fn usart4rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 19>
Bit 19 - USART4 reset
sourcepub fn usart5rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 20>
pub fn usart5rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 20>
Bit 20 - USART5 reset
sourcepub fn crcrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 27>
pub fn crcrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 27>
Bit 27 - CRC reset
sourcepub fn i2c3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 30>
pub fn i2c3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR_SPEC, TIM2RST_A, BitM, 30>
Bit 30 - I2C3 reset
Methods from Deref<Target = W<APB1RSTR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
sourceimpl From<W<APB1RSTR_SPEC>> for W
impl From<W<APB1RSTR_SPEC>> for W
sourcefn from(writer: W<APB1RSTR_SPEC>) -> W
fn from(writer: W<APB1RSTR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more