[−]Struct stm32f072b_disco::rcc::apb1enr::R
Value read from the register
Methods
impl R
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn tim2en(&self) -> TIM2ENR
Bit 0 - Timer 2 clock enable
pub fn tim3en(&self) -> TIM2ENR
Bit 1 - Timer 3 clock enable
pub fn tim6en(&self) -> TIM2ENR
Bit 4 - Timer 6 clock enable
pub fn tim7en(&self) -> TIM2ENR
Bit 5 - TIM7 timer clock enable
pub fn tim14en(&self) -> TIM2ENR
Bit 8 - Timer 14 clock enable
pub fn wwdgen(&self) -> TIM2ENR
Bit 11 - Window watchdog clock enable
pub fn spi2en(&self) -> TIM2ENR
Bit 14 - SPI 2 clock enable
pub fn usart2en(&self) -> TIM2ENR
Bit 17 - USART 2 clock enable
pub fn usart3en(&self) -> TIM2ENR
Bit 18 - USART3 clock enable
pub fn usart4en(&self) -> TIM2ENR
Bit 19 - USART4 clock enable
pub fn i2c1en(&self) -> TIM2ENR
Bit 21 - I2C 1 clock enable
pub fn i2c2en(&self) -> TIM2ENR
Bit 22 - I2C 2 clock enable
pub fn usben(&self) -> TIM2ENR
Bit 23 - USB interface clock enable
pub fn canen(&self) -> TIM2ENR
Bit 25 - CAN interface clock enable
pub fn crsen(&self) -> TIM2ENR
Bit 27 - Clock Recovery System interface clock enable
pub fn pwren(&self) -> TIM2ENR
Bit 28 - Power interface clock enable
pub fn dacen(&self) -> TIM2ENR
Bit 29 - DAC interface clock enable
pub fn cecen(&self) -> TIM2ENR
Bit 30 - HDMI CEC interface clock enable
pub fn usart5en(&self) -> TIM2ENR
Bit 20 - USART5 clock enable
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self