pub struct W(_);
Expand description
Register APB1ENR2
writer
Implementations
sourceimpl W
impl W
sourcepub fn lptim2en(&mut self) -> LPTIM2EN_W<'_>
pub fn lptim2en(&mut self) -> LPTIM2EN_W<'_>
Bit 5 - LPTIM2EN
sourcepub fn swpmi1en(&mut self) -> SWPMI1EN_W<'_>
pub fn swpmi1en(&mut self) -> SWPMI1EN_W<'_>
Bit 2 - Single wire protocol clock enable
sourcepub fn lpuart1en(&mut self) -> LPUART1EN_W<'_>
pub fn lpuart1en(&mut self) -> LPUART1EN_W<'_>
Bit 0 - Low power UART 1 clock enable
Methods from Deref<Target = W<APB1ENR2_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<APB1ENR2_SPEC>> for W
impl From<W<APB1ENR2_SPEC>> for W
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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