Struct stm32f103xx::rcc::cfgr::R
[−]
[src]
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 sw(&self) -> SWR
[src]
Bits 0:1 - System clock Switch
pub fn sws(&self) -> SWSR
[src]
Bits 2:3 - System Clock Switch Status
pub fn hpre(&self) -> HPRER
[src]
Bits 4:7 - AHB prescaler
pub fn ppre1(&self) -> PPRE1R
[src]
Bits 8:10 - APB Low speed prescaler (APB1)
pub fn ppre2(&self) -> PPRE2R
[src]
Bits 11:13 - APB High speed prescaler (APB2)
pub fn adcpre(&self) -> ADCPRER
[src]
Bits 14:15 - ADC prescaler
pub fn pllsrc(&self) -> PLLSRCR
[src]
Bit 16 - PLL entry clock source
pub fn pllxtpre(&self) -> PLLXTPRER
[src]
Bit 17 - HSE divider for PLL entry
pub fn pllmul(&self) -> PLLMULR
[src]
Bits 18:21 - PLL Multiplication Factor
pub fn usbpre(&self) -> USBPRER
[src]
Bit 22 - USB prescaler
pub fn mco(&self) -> MCOR
[src]
Bits 24:26 - Microcontroller clock output