Struct stm32wlxx_hal::pac::rcc::apb1rstr1::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register APB1RSTR1
writer
Implementations§
§impl W
impl W
pub fn lptim1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 31>
pub fn lptim1rst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 31>
Bit 31 - Low Power Timer 1 reset
pub fn dacrst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 29>
pub fn dacrst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 29>
Bit 29 - DAC1 reset
pub fn i2c3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 23>
pub fn i2c3rst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 23>
Bit 23 - I2C3 reset
pub fn i2c2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 22>
pub fn i2c2rst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 22>
Bit 22 - I2C2 reset
pub fn i2c1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 21>
pub fn i2c1rst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 21>
Bit 21 - I2C1 reset
pub fn usart2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 17>
pub fn usart2rst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 17>
Bit 17 - USART2 reset
pub fn spi2s2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 14>
pub fn spi2s2rst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 14>
Bit 14 - SPI2S2 reset
pub fn tim2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 0>
pub fn tim2rst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR1_SPEC, TIM2RST_A, BitM, 0>
Bit 0 - TIM2 timer reset
Methods from Deref<Target = W<APB1RSTR1_SPEC>>§
pub 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§
§impl From<W<APB1RSTR1_SPEC>> for W
impl From<W<APB1RSTR1_SPEC>> for W
§fn from(writer: W<APB1RSTR1_SPEC>) -> W
fn from(writer: W<APB1RSTR1_SPEC>) -> W
Converts to this type from the input type.
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