Struct stm32wlxx_hal::pac::rcc::apb1enr2::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register APB1ENR2
writer
Implementations§
§impl W
impl W
pub fn lptim3en(
&mut self
) -> BitWriterRaw<'_, u32, APB1ENR2_SPEC, LPUART1EN_A, BitM, 6>
pub fn lptim3en( &mut self ) -> BitWriterRaw<'_, u32, APB1ENR2_SPEC, LPUART1EN_A, BitM, 6>
Bit 6 - CPU1 Low power timer 3 clocks enable
pub fn lptim2en(
&mut self
) -> BitWriterRaw<'_, u32, APB1ENR2_SPEC, LPUART1EN_A, BitM, 5>
pub fn lptim2en( &mut self ) -> BitWriterRaw<'_, u32, APB1ENR2_SPEC, LPUART1EN_A, BitM, 5>
Bit 5 - CPU1 Low power timer 2 clocks enable
pub fn lpuart1en(
&mut self
) -> BitWriterRaw<'_, u32, APB1ENR2_SPEC, LPUART1EN_A, BitM, 0>
pub fn lpuart1en( &mut self ) -> BitWriterRaw<'_, u32, APB1ENR2_SPEC, LPUART1EN_A, BitM, 0>
Bit 0 - CPU1 Low power UART 1 clocks enable
Methods from Deref<Target = W<APB1ENR2_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<APB1ENR2_SPEC>> for W
impl From<W<APB1ENR2_SPEC>> for W
§fn from(writer: W<APB1ENR2_SPEC>) -> W
fn from(writer: W<APB1ENR2_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