[][src]Struct stm32f1xx_hal::device::rcc::apb2enr::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 W[src]

Writes raw bits to the register

pub fn afioen(&mut self) -> _AFIOENW[src]

Bit 0 - Alternate function I/O clock enable

pub fn iopaen(&mut self) -> _IOPAENW[src]

Bit 2 - I/O port A clock enable

pub fn iopben(&mut self) -> _IOPBENW[src]

Bit 3 - I/O port B clock enable

pub fn iopcen(&mut self) -> _IOPCENW[src]

Bit 4 - I/O port C clock enable

pub fn iopden(&mut self) -> _IOPDENW[src]

Bit 5 - I/O port D clock enable

pub fn iopeen(&mut self) -> _IOPEENW[src]

Bit 6 - I/O port E clock enable

pub fn iopfen(&mut self) -> _IOPFENW[src]

Bit 7 - I/O port F clock enable

pub fn iopgen(&mut self) -> _IOPGENW[src]

Bit 8 - I/O port G clock enable

pub fn adc1en(&mut self) -> _ADC1ENW[src]

Bit 9 - ADC 1 interface clock enable

pub fn adc2en(&mut self) -> _ADC2ENW[src]

Bit 10 - ADC 2 interface clock enable

pub fn tim1en(&mut self) -> _TIM1ENW[src]

Bit 11 - TIM1 Timer clock enable

pub fn spi1en(&mut self) -> _SPI1ENW[src]

Bit 12 - SPI 1 clock enable

pub fn tim8en(&mut self) -> _TIM8ENW[src]

Bit 13 - TIM8 Timer clock enable

pub fn usart1en(&mut self) -> _USART1ENW[src]

Bit 14 - USART1 clock enable

pub fn adc3en(&mut self) -> _ADC3ENW[src]

Bit 15 - ADC3 interface clock enable

pub fn tim9en(&mut self) -> _TIM9ENW[src]

Bit 19 - TIM9 Timer clock enable

pub fn tim10en(&mut self) -> _TIM10ENW[src]

Bit 20 - TIM10 Timer clock enable

pub fn tim11en(&mut self) -> _TIM11ENW[src]

Bit 21 - TIM11 Timer 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