[−]Struct stm32f407g_disc::rcc::cfgr::R
Value read from the register
Methods
impl R
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn mco2(&self) -> MCO2R
Bits 30:31 - Microcontroller clock output 2
pub fn mco2pre(&self) -> MCO2PRER
Bits 27:29 - MCO2 prescaler
pub fn mco1pre(&self) -> MCO2PRER
Bits 24:26 - MCO1 prescaler
pub fn i2ssrc(&self) -> I2SSRCR
Bit 23 - I2S clock selection
pub fn mco1(&self) -> MCO1R
Bits 21:22 - Microcontroller clock output 1
pub fn rtcpre(&self) -> RTCPRER
Bits 16:20 - HSE division factor for RTC clock
pub fn ppre2(&self) -> PPRE2R
Bits 13:15 - APB high-speed prescaler (APB2)
pub fn ppre1(&self) -> PPRE2R
Bits 10:12 - APB Low speed prescaler (APB1)
pub fn hpre(&self) -> HPRER
Bits 4:7 - AHB prescaler
pub fn sw(&self) -> SWR
Bits 0:1 - System clock switch
pub fn sws(&self) -> SWSR
Bits 2:3 - System clock switch status
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,