[][src]Struct stm32f4xx_hal::stm32::rcc::cfgr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn mco2(&self) -> MCO2R[src]

Bits 30:31 - Microcontroller clock output 2

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

Bits 27:29 - MCO2 prescaler

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

Bits 24:26 - MCO1 prescaler

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

Bit 23 - I2S clock selection

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

Bits 21:22 - Microcontroller clock output 1

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

Bits 16:20 - HSE division factor for RTC clock

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

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

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

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

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

Bits 4:7 - AHB prescaler

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

Bits 0:1 - System clock switch

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

Bits 2:3 - System clock switch status

Auto Trait Implementations

impl Unpin for R

impl Send for R

impl Sync for R

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]

impl<T> Same<T> for T

type Output = T

Should always be Self