pub struct W(_);
Expand description
Register APB2RSTR
writer
Implementations
sourceimpl W
impl W
sourcepub fn tim1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 0>
pub fn tim1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 0>
Bit 0 - TIM1 block reset
sourcepub fn tim8rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 1>
pub fn tim8rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 1>
Bit 1 - TIM8 block reset
sourcepub fn usart1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 4>
pub fn usart1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 4>
Bit 4 - USART1 block reset
sourcepub fn usart6rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 5>
pub fn usart6rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 5>
Bit 5 - USART6 block reset
sourcepub fn spi1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 12>
pub fn spi1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 12>
Bit 12 - SPI1 block reset
sourcepub fn spi4rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 13>
pub fn spi4rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 13>
Bit 13 - SPI4 block reset
sourcepub fn tim15rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 16>
pub fn tim15rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 16>
Bit 16 - TIM15 block reset
sourcepub fn tim16rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 17>
pub fn tim16rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 17>
Bit 17 - TIM16 block reset
sourcepub fn tim17rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 18>
pub fn tim17rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 18>
Bit 18 - TIM17 block reset
sourcepub fn spi5rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 20>
pub fn spi5rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 20>
Bit 20 - SPI5 block reset
sourcepub fn sai1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 22>
pub fn sai1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 22>
Bit 22 - SAI1 block reset
sourcepub fn sai2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 23>
pub fn sai2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 23>
Bit 23 - SAI2 block reset
sourcepub fn sai3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 24>
pub fn sai3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 24>
Bit 24 - SAI3 block reset
sourcepub fn dfsdm1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 28>
pub fn dfsdm1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 28>
Bit 28 - DFSDM1 block reset
sourcepub fn uart9rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 6>
pub fn uart9rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 6>
Bit 6 - UART9 block reset
sourcepub fn usart10rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 7>
pub fn usart10rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 7>
Bit 7 - USART10 block reset
Methods from Deref<Target = W<APB2RSTR_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<APB2RSTR_SPEC>> for W
impl From<W<APB2RSTR_SPEC>> for W
sourcefn from(writer: W<APB2RSTR_SPEC>) -> W
fn from(writer: W<APB2RSTR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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