[][src]Struct stm32l1xx_hal::stm32::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 usart1en(&mut self) -> _USART1ENW[src]

Bit 14 - USART1 clock enable

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

Bit 12 - SPI 1 clock enable

pub fn sdioen(&mut self) -> _SDIOENW[src]

Bit 11 - SDIO clock enable

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

Bit 9 - ADC1 interface clock enable

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

Bit 4 - TIM11 timer clock enable

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

Bit 3 - TIM10 timer clock enable

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

Bit 2 - TIM9 timer clock enable

pub fn syscfgen(&mut self) -> _SYSCFGENW[src]

Bit 0 - System configuration controller clock enable

Auto Trait Implementations

impl Unpin for W

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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