[][src]Struct stm32f4xx_hal::stm32::rcc::cfgr::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 mco2(&mut self) -> _MCO2W[src]

Bits 30:31 - Microcontroller clock output 2

pub fn mco2pre(&mut self) -> _MCO2PREW[src]

Bits 27:29 - MCO2 prescaler

pub fn mco1pre(&mut self) -> _MCO1PREW[src]

Bits 24:26 - MCO1 prescaler

pub fn i2ssrc(&mut self) -> _I2SSRCW[src]

Bit 23 - I2S clock selection

pub fn mco1(&mut self) -> _MCO1W[src]

Bits 21:22 - Microcontroller clock output 1

pub fn rtcpre(&mut self) -> _RTCPREW[src]

Bits 16:20 - HSE division factor for RTC clock

pub fn ppre2(&mut self) -> _PPRE2W[src]

Bits 13:15 - APB high-speed prescaler (APB2)

pub fn ppre1(&mut self) -> _PPRE1W[src]

Bits 10:12 - APB Low speed prescaler (APB1)

pub fn hpre(&mut self) -> _HPREW[src]

Bits 4:7 - AHB prescaler

pub fn sw(&mut self) -> _SWW[src]

Bits 0:1 - System clock switch

pub fn sws(&mut self) -> _SWSW[src]

Bits 2:3 - System clock switch status

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