Struct stm32wlxx_hal::pac::rcc::apb1rstr2::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register APB1RSTR2
writer
Implementations§
§impl W
impl W
pub fn lptim3rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR2_SPEC, LPUART1RST_A, BitM, 6>
pub fn lptim3rst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR2_SPEC, LPUART1RST_A, BitM, 6>
Bit 6 - Low-power timer 3 reset
pub fn lptim2rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR2_SPEC, LPUART1RST_A, BitM, 5>
pub fn lptim2rst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR2_SPEC, LPUART1RST_A, BitM, 5>
Bit 5 - Low-power timer 2 reset
pub fn lpuart1rst(
&mut self
) -> BitWriterRaw<'_, u32, APB1RSTR2_SPEC, LPUART1RST_A, BitM, 0>
pub fn lpuart1rst( &mut self ) -> BitWriterRaw<'_, u32, APB1RSTR2_SPEC, LPUART1RST_A, BitM, 0>
Bit 0 - Low-power UART 1 reset
Methods from Deref<Target = W<APB1RSTR2_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<APB1RSTR2_SPEC>> for W
impl From<W<APB1RSTR2_SPEC>> for W
§fn from(writer: W<APB1RSTR2_SPEC>) -> W
fn from(writer: W<APB1RSTR2_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