[][src]Struct stm32f1xx_hal::device::rcc::apb1enr::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 - Timer 2 clock enable

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

Bit 1 - Timer 3 clock enable

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

Bit 2 - Timer 4 clock enable

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

Bit 3 - Timer 5 clock enable

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

Bit 4 - Timer 6 clock enable

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

Bit 5 - Timer 7 clock enable

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

Bit 6 - Timer 12 clock enable

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

Bit 7 - Timer 13 clock enable

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

Bit 8 - Timer 14 clock enable

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

Bit 11 - Window watchdog clock enable

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

Bit 14 - SPI 2 clock enable

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

Bit 15 - SPI 3 clock enable

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

Bit 17 - USART 2 clock enable

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

Bit 18 - USART 3 clock enable

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

Bit 19 - UART 4 clock enable

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

Bit 20 - UART 5 clock enable

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

Bit 21 - I2C 1 clock enable

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

Bit 22 - I2C 2 clock enable

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

Bit 23 - USB clock enable

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

Bit 25 - CAN clock enable

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

Bit 27 - Backup interface clock enable

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

Bit 28 - Power interface clock enable

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

Bit 29 - DAC interface clock enable

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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

impl<T> Same for T

type Output = T

Should always be Self