pub struct W(_);
Expand description
Register APB2RSTR
writer
Implementations
sourceimpl W
impl W
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 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 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 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 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 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 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 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 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 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 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
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