[][src]Struct stm32f3::stm32f303::rcc::cfgr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

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

Bits 0:1 - System clock Switch

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

Bits 4:7 - AHB prescaler

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

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

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

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

pub fn pllsrc(&mut self) -> _PLLSRCW[src]

Bits 15:16 - PLL entry clock source

pub fn pllxtpre(&mut self) -> _PLLXTPREW[src]

Bit 17 - HSE divider for PLL entry

pub fn pllmul(&mut self) -> _PLLMULW[src]

Bits 18:21 - PLL Multiplication Factor

pub fn usbpre(&mut self) -> _USBPREW[src]

Bit 22 - USB prescaler

pub fn mco(&mut self) -> _MCOW[src]

Bits 24:26 - Microcontroller clock output

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

Bit 23 - I2S external clock source selection

pub fn mcopre(&mut self) -> _MCOPREW[src]

Bits 28:30 - Microcontroller Clock Output Prescaler

pub fn pllnodiv(&mut self) -> _PLLNODIVW[src]

Bit 31 - Do not divide PLL to MCO

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send 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