[][src]Struct stm32f3::stm32f303::rcc::apb1enr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W
[src]

pub fn reset_value() -> W
[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]

Writes raw bits to the register

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

Bit 0 - Timer 2 clock enable

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

Bit 1 - Timer 3 clock enable

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

Bit 2 - Timer 4 clock enable

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

Bit 4 - Timer 6 clock enable

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

Bit 5 - Timer 7 clock enable

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

Bit 11 - Window watchdog clock enable

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

Bit 14 - SPI 2 clock enable

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

Bit 15 - SPI 3 clock enable

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

Bit 17 - USART 2 clock enable

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

Bit 18 - USART 3 clock enable

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

Bit 19 - USART 4 clock enable

pub fn usart5en(&mut self) -> _USART5ENW
[src]

Bit 20 - USART 5 clock enable

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

Bit 21 - I2C 1 clock enable

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

Bit 22 - I2C 2 clock enable

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

Bit 23 - USB clock enable

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

Bit 25 - CAN clock enable

pub fn dac2en(&mut self) -> _DAC2ENW
[src]

Bit 26 - DAC2 interface clock enable

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

Bit 28 - Power interface clock enable

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

Bit 29 - DAC interface clock enable

pub fn i2c3en(&mut self) -> _I2C3ENW
[src]

Bit 30 - I2C3 clock enable

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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]