pub struct R(_);
Expand description
Register APB1ENR2
reader
Implementations
sourceimpl R
impl R
sourcepub fn lptim2en(&self) -> LPTIM2EN_R
pub fn lptim2en(&self) -> LPTIM2EN_R
Bit 5 - LPTIM2EN
sourcepub fn swpmi1en(&self) -> SWPMI1EN_R
pub fn swpmi1en(&self) -> SWPMI1EN_R
Bit 2 - Single wire protocol clock enable
sourcepub fn lpuart1en(&self) -> LPUART1EN_R
pub fn lpuart1en(&self) -> LPUART1EN_R
Bit 0 - Low power UART 1 clock enable
Methods from Deref<Target = R<APB1ENR2_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
sourceimpl From<R<APB1ENR2_SPEC>> for R
impl From<R<APB1ENR2_SPEC>> for R
sourcefn from(reader: R<APB1ENR2_SPEC>) -> R
fn from(reader: R<APB1ENR2_SPEC>) -> R
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