[][src]Struct stm32g0::stm32g0x0::rcc::apbenr1::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn tim2en(&self) -> TIM2ENR[src]

Bit 0 - TIM2 timer clock enable

pub fn tim3en(&self) -> TIM3ENR[src]

Bit 1 - TIM3 timer clock enable

pub fn tim6en(&self) -> TIM6ENR[src]

Bit 4 - TIM6 timer clock enable

pub fn tim7en(&self) -> TIM7ENR[src]

Bit 5 - TIM7 timer clock enable

pub fn rtcapben(&self) -> RTCAPBENR[src]

Bit 10 - RTC APB clock enable

pub fn wwdgen(&self) -> WWDGENR[src]

Bit 11 - WWDG clock enable

pub fn spi2en(&self) -> SPI2ENR[src]

Bit 14 - SPI2 clock enable

pub fn usart2en(&self) -> USART2ENR[src]

Bit 17 - USART2 clock enable

pub fn usart3en(&self) -> USART3ENR[src]

Bit 18 - USART3 clock enable

pub fn usart4en(&self) -> USART4ENR[src]

Bit 19 - USART4 clock enable

pub fn lpuart1en(&self) -> LPUART1ENR[src]

Bit 20 - LPUART1 clock enable

pub fn i2c1en(&self) -> I2C1ENR[src]

Bit 21 - I2C1 clock enable

pub fn i2c2en(&self) -> I2C2ENR[src]

Bit 22 - I2C2 clock enable

pub fn cecen(&self) -> CECENR[src]

Bit 24 - HDMI CEC clock enable

pub fn ucpd1en(&self) -> UCPD1ENR[src]

Bit 25 - UCPD1 clock enable

pub fn ucpd2en(&self) -> UCPD2ENR[src]

Bit 26 - UCPD2 clock enable

pub fn dbgen(&self) -> DBGENR[src]

Bit 27 - Debug support clock enable

pub fn pwren(&self) -> PWRENR[src]

Bit 28 - Power interface clock enable

pub fn dac1en(&self) -> DAC1ENR[src]

Bit 29 - DAC1 interface clock enable

pub fn lptim2en(&self) -> LPTIM2ENR[src]

Bit 30 - LPTIM2 clock enable

pub fn lptim1en(&self) -> LPTIM1ENR[src]

Bit 31 - LPTIM1 clock enable

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self