[][src]Struct stm32h7xx_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 sw(&mut self) -> _SWW[src]

Bits 0:2 - System clock switch

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

Bits 3:5 - System clock switch status

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

Bit 6 - System clock selection after a wake up from system Stop

pub fn stopkerwuck(&mut self) -> _STOPKERWUCKW[src]

Bit 7 - Kernel clock selection after a wake up from system Stop

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

Bits 8:13 - HSE division factor for RTC clock

pub fn hrtimsel(&mut self) -> _HRTIMSELW[src]

Bit 14 - High Resolution Timer clock prescaler selection

pub fn timpre(&mut self) -> _TIMPREW[src]

Bit 15 - Timers clocks prescaler selection

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

Bits 18:21 - MCO1 prescaler

pub fn mco1sel(&mut self) -> _MCO1SELW[src]

Bits 22:24 - Micro-controller clock output 1

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

Bits 25:28 - MCO2 prescaler

pub fn mco2sel(&mut self) -> _MCO2SELW[src]

Bits 29:31 - Micro-controller clock output 2

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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> From<T> for 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