[]Struct stm32f072b_disco::rcc::apb2enr::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 syscfgen(&mut self) -> _SYSCFGENW

Bit 0 - SYSCFG clock enable

pub fn adcen(&mut self) -> _ADCENW

Bit 9 - ADC 1 interface clock enable

pub fn tim1en(&mut self) -> _TIM1ENW

Bit 11 - TIM1 Timer clock enable

pub fn spi1en(&mut self) -> _SPI1ENW

Bit 12 - SPI 1 clock enable

pub fn usart1en(&mut self) -> _USART1ENW

Bit 14 - USART1 clock enable

pub fn tim15en(&mut self) -> _TIM15ENW

Bit 16 - TIM15 timer clock enable

pub fn tim16en(&mut self) -> _TIM16ENW

Bit 17 - TIM16 timer clock enable

pub fn tim17en(&mut self) -> _TIM17ENW

Bit 18 - TIM17 timer clock enable

pub fn dbgmcuen(&mut self) -> _DBGMCUENW

Bit 22 - MCU debug module clock enable

pub fn usart6en(&mut self) -> _USART6ENW

Bit 5 - USART6 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