Struct stm32wlxx_hal::pac::rcc::c2apb1smenr2::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register C2APB1SMENR2
writer
Implementations§
§impl W
impl W
pub fn lptim3smen(
&mut self
) -> BitWriterRaw<'_, u32, C2APB1SMENR2_SPEC, LPUART1SMEN_A, BitM, 6>
pub fn lptim3smen( &mut self ) -> BitWriterRaw<'_, u32, C2APB1SMENR2_SPEC, LPUART1SMEN_A, BitM, 6>
Bit 6 - Low power timer 3 clocks enable during CPU2 CSleep and CStop modes.
pub fn lptim2smen(
&mut self
) -> BitWriterRaw<'_, u32, C2APB1SMENR2_SPEC, LPUART1SMEN_A, BitM, 5>
pub fn lptim2smen( &mut self ) -> BitWriterRaw<'_, u32, C2APB1SMENR2_SPEC, LPUART1SMEN_A, BitM, 5>
Bit 5 - Low power timer 2 clocks enable during CPU2 CSleep and CStop modes.
pub fn lpuart1smen(
&mut self
) -> BitWriterRaw<'_, u32, C2APB1SMENR2_SPEC, LPUART1SMEN_A, BitM, 0>
pub fn lpuart1smen( &mut self ) -> BitWriterRaw<'_, u32, C2APB1SMENR2_SPEC, LPUART1SMEN_A, BitM, 0>
Bit 0 - Low power UART 1 clock enable during CPU2 CSleep and CStop mode
Methods from Deref<Target = W<C2APB1SMENR2_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<C2APB1SMENR2_SPEC>> for W
impl From<W<C2APB1SMENR2_SPEC>> for W
§fn from(writer: W<C2APB1SMENR2_SPEC>) -> W
fn from(writer: W<C2APB1SMENR2_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