pub struct R(_);
Expand description
Register APB2ENR
reader
Implementations
sourceimpl R
impl R
sourcepub fn syscfgen(&self) -> SYSCFGEN_R
pub fn syscfgen(&self) -> SYSCFGEN_R
Bit 0 - SYSCFG clock enable
sourcepub fn tim1en(&self) -> SYSCFGEN_R
pub fn tim1en(&self) -> SYSCFGEN_R
Bit 11 - TIM1 Timer clock enable
sourcepub fn spi1en(&self) -> SYSCFGEN_R
pub fn spi1en(&self) -> SYSCFGEN_R
Bit 12 - SPI 1 clock enable
sourcepub fn tim8en(&self) -> SYSCFGEN_R
pub fn tim8en(&self) -> SYSCFGEN_R
Bit 13 - TIM8 Timer clock enable
sourcepub fn usart1en(&self) -> SYSCFGEN_R
pub fn usart1en(&self) -> SYSCFGEN_R
Bit 14 - USART1 clock enable
sourcepub fn tim15en(&self) -> SYSCFGEN_R
pub fn tim15en(&self) -> SYSCFGEN_R
Bit 16 - TIM15 timer clock enable
sourcepub fn tim16en(&self) -> SYSCFGEN_R
pub fn tim16en(&self) -> SYSCFGEN_R
Bit 17 - TIM16 timer clock enable
sourcepub fn tim17en(&self) -> SYSCFGEN_R
pub fn tim17en(&self) -> SYSCFGEN_R
Bit 18 - TIM17 timer clock enable
sourcepub fn spi4en(&self) -> SYSCFGEN_R
pub fn spi4en(&self) -> SYSCFGEN_R
Bit 15 - SPI4 clock enable
sourcepub fn tim20en(&self) -> SYSCFGEN_R
pub fn tim20en(&self) -> SYSCFGEN_R
Bit 20 - TIM20 timer clock enable
Methods from Deref<Target = R<APB2ENR_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<APB2ENR_SPEC>> for R
impl From<R<APB2ENR_SPEC>> for R
sourcefn from(reader: R<APB2ENR_SPEC>) -> R
fn from(reader: R<APB2ENR_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