[]Struct stm32_eth::stm32::rcc::apb1enr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W

pub fn reset_value() -> W

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W

Writes raw bits to the register

pub fn tim2en(&mut self) -> _TIM2ENW

Bit 0 - TIM2 clock enable

pub fn tim3en(&mut self) -> _TIM3ENW

Bit 1 - TIM3 clock enable

pub fn tim4en(&mut self) -> _TIM4ENW

Bit 2 - TIM4 clock enable

pub fn tim5en(&mut self) -> _TIM5ENW

Bit 3 - TIM5 clock enable

pub fn tim6en(&mut self) -> _TIM6ENW

Bit 4 - TIM6 clock enable

pub fn tim7en(&mut self) -> _TIM7ENW

Bit 5 - TIM7 clock enable

pub fn tim12en(&mut self) -> _TIM12ENW

Bit 6 - TIM12 clock enable

pub fn tim13en(&mut self) -> _TIM13ENW

Bit 7 - TIM13 clock enable

pub fn tim14en(&mut self) -> _TIM14ENW

Bit 8 - TIM14 clock enable

pub fn wwdgen(&mut self) -> _WWDGENW

Bit 11 - Window watchdog clock enable

pub fn spi2en(&mut self) -> _SPI2ENW

Bit 14 - SPI2 clock enable

pub fn spi3en(&mut self) -> _SPI3ENW

Bit 15 - SPI3 clock enable

pub fn usart2en(&mut self) -> _USART2ENW

Bit 17 - USART 2 clock enable

pub fn usart3en(&mut self) -> _USART3ENW

Bit 18 - USART3 clock enable

pub fn uart4en(&mut self) -> _UART4ENW

Bit 19 - UART4 clock enable

pub fn uart5en(&mut self) -> _UART5ENW

Bit 20 - UART5 clock enable

pub fn i2c1en(&mut self) -> _I2C1ENW

Bit 21 - I2C1 clock enable

pub fn i2c2en(&mut self) -> _I2C2ENW

Bit 22 - I2C2 clock enable

pub fn i2c3en(&mut self) -> _I2C3ENW

Bit 23 - I2C3 clock enable

pub fn can1en(&mut self) -> _CAN1ENW

Bit 25 - CAN 1 clock enable

pub fn can2en(&mut self) -> _CAN2ENW

Bit 26 - CAN 2 clock enable

pub fn pwren(&mut self) -> _PWRENW

Bit 28 - Power interface clock enable

pub fn dacen(&mut self) -> _DACENW

Bit 29 - DAC interface clock enable

pub fn uart7en(&mut self) -> _UART7ENW

Bit 30 - UART7 clock enable

pub fn uart8en(&mut self) -> _UART8ENW

Bit 31 - UART8 clock enable

Auto Trait Implementations

impl Send for W

impl Sync for W

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