pub struct W(/* private fields */);
Expand description
Register APB2RSTR
writer
Implementations§
source§impl 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 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 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 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 reset
sourcepub fn adcrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 8>
pub fn adcrst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 8>
Bit 8 - ADC interface reset (common to all ADCs)
sourcepub fn sdiorst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 11>
pub fn sdiorst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 11>
Bit 11 - SDIO 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 - SPI 1 reset
sourcepub fn syscfgrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 14>
pub fn syscfgrst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 14>
Bit 14 - System configuration controller reset
sourcepub fn tim9rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 16>
pub fn tim9rst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 16>
Bit 16 - TIM9 reset
sourcepub fn tim10rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 17>
pub fn tim10rst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 17>
Bit 17 - TIM10 reset
sourcepub fn tim11rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 18>
pub fn tim11rst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 18>
Bit 18 - TIM11 reset
sourcepub fn spi6rst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 21>
pub fn spi6rst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 21>
Bit 21 - SPI6 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 reset
sourcepub fn ltdcrst(
&mut self
) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 26>
pub fn ltdcrst( &mut self ) -> BitWriterRaw<'_, u32, APB2RSTR_SPEC, TIM1RST_A, BitM, 26>
Bit 26 - LTDC 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 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 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§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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