[][src]Struct gd32vf103_pac::rcu::cfg0::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 Self[src]

Writes raw bits to the register

pub fn scs(&mut self) -> _SCSW[src]

Bits 0:1 - System clock switch

pub fn ahbpsc(&mut self) -> _AHBPSCW[src]

Bits 4:7 - AHB prescaler selection

pub fn apb1psc(&mut self) -> _APB1PSCW[src]

Bits 8:10 - APB1 prescaler selection

pub fn apb2psc(&mut self) -> _APB2PSCW[src]

Bits 11:13 - APB2 prescaler selection

pub fn adcpsc_1_0(&mut self) -> _ADCPSC_1_0W[src]

Bits 14:15 - ADC clock prescaler selection

pub fn pllsel(&mut self) -> _PLLSELW[src]

Bit 16 - PLL Clock Source Selection

pub fn predv0_lsb(&mut self) -> _PREDV0_LSBW[src]

Bit 17 - The LSB of PREDV0 division factor

pub fn pllmf_3_0(&mut self) -> _PLLMF_3_0W[src]

Bits 18:21 - The PLL clock multiplication factor

pub fn usbfspsc(&mut self) -> _USBFSPSCW[src]

Bits 22:23 - USBFS clock prescaler selection

pub fn ckout0sel(&mut self) -> _CKOUT0SELW[src]

Bits 24:27 - CKOUT0 Clock Source Selection

pub fn adcpsc_2(&mut self) -> _ADCPSC_2W[src]

Bit 28 - Bit 2 of ADCPSC

pub fn pllmf_4(&mut self) -> _PLLMF_4W[src]

Bit 29 - Bit 4 of PLLMF

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]