[][src]Struct stm32l4xx_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 mcopre(&self) -> MCOPRER[src]

Bits 28:30 - Microcontroller clock output prescaler

pub fn mcosel(&self) -> MCOSELR[src]

Bits 24:26 - Microcontroller clock output

pub fn stopwuck(&self) -> STOPWUCKR[src]

Bit 15 - Wakeup from Stop and CSS backup clock selection

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

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

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

Bits 8:10 - PB low-speed prescaler (APB1)

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

Bits 4:7 - AHB prescaler

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

Bits 2:3 - System clock switch status

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

Bits 0:1 - System clock switch

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

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