Struct stm32f103xx::rcc::cfgr::W [−][src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn sw(&mut self) -> _SWW
[src]
pub fn sw(&mut self) -> _SWW
Bits 0:1 - System clock Switch
pub fn hpre(&mut self) -> _HPREW
[src]
pub fn hpre(&mut self) -> _HPREW
Bits 4:7 - AHB prescaler
pub fn ppre1(&mut self) -> _PPRE1W
[src]
pub fn ppre1(&mut self) -> _PPRE1W
Bits 8:10 - APB Low speed prescaler (APB1)
pub fn ppre2(&mut self) -> _PPRE2W
[src]
pub fn ppre2(&mut self) -> _PPRE2W
Bits 11:13 - APB High speed prescaler (APB2)
pub fn adcpre(&mut self) -> _ADCPREW
[src]
pub fn adcpre(&mut self) -> _ADCPREW
Bits 14:15 - ADC prescaler
pub fn pllsrc(&mut self) -> _PLLSRCW
[src]
pub fn pllsrc(&mut self) -> _PLLSRCW
Bit 16 - PLL entry clock source
pub fn pllxtpre(&mut self) -> _PLLXTPREW
[src]
pub fn pllxtpre(&mut self) -> _PLLXTPREW
Bit 17 - HSE divider for PLL entry
pub fn pllmul(&mut self) -> _PLLMULW
[src]
pub fn pllmul(&mut self) -> _PLLMULW
Bits 18:21 - PLL Multiplication Factor
pub fn usbpre(&mut self) -> _USBPREW
[src]
pub fn usbpre(&mut self) -> _USBPREW
Bit 22 - USB prescaler
pub fn mco(&mut self) -> _MCOW
[src]
pub fn mco(&mut self) -> _MCOW
Bits 24:26 - Microcontroller clock output