pub struct R(_);
Expand description
Register APB2EN
reader
Implementations
sourceimpl R
impl R
sourcepub fn cfgcmpen(&self) -> BitReaderRaw<CFGCMPEN_A>
pub fn cfgcmpen(&self) -> BitReaderRaw<CFGCMPEN_A>
Bit 0 - System configuration and comparator clock enable
sourcepub fn adcen(&self) -> BitReaderRaw<CFGCMPEN_A>
pub fn adcen(&self) -> BitReaderRaw<CFGCMPEN_A>
Bit 9 - ADC interface clock enable
sourcepub fn timer0en(&self) -> BitReaderRaw<CFGCMPEN_A>
pub fn timer0en(&self) -> BitReaderRaw<CFGCMPEN_A>
Bit 11 - TIMER0 timer clock enable
sourcepub fn spi0en(&self) -> BitReaderRaw<CFGCMPEN_A>
pub fn spi0en(&self) -> BitReaderRaw<CFGCMPEN_A>
Bit 12 - SPI0 clock enable
sourcepub fn usart0en(&self) -> BitReaderRaw<CFGCMPEN_A>
pub fn usart0en(&self) -> BitReaderRaw<CFGCMPEN_A>
Bit 14 - USART0 clock enable
sourcepub fn timer14en(&self) -> BitReaderRaw<CFGCMPEN_A>
pub fn timer14en(&self) -> BitReaderRaw<CFGCMPEN_A>
Bit 16 - TIMER14 timer clock enable
sourcepub fn timer15en(&self) -> BitReaderRaw<CFGCMPEN_A>
pub fn timer15en(&self) -> BitReaderRaw<CFGCMPEN_A>
Bit 17 - TIMER15 timer clock enable
sourcepub fn timer16en(&self) -> BitReaderRaw<CFGCMPEN_A>
pub fn timer16en(&self) -> BitReaderRaw<CFGCMPEN_A>
Bit 18 - TIMER16 timer clock enable
Methods from Deref<Target = R<APB2EN_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<APB2EN_SPEC>> for R
impl From<R<APB2EN_SPEC>> for R
sourcefn from(reader: R<APB2EN_SPEC>) -> R
fn from(reader: R<APB2EN_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