Struct stm32f30x_hal::rcc::CFGR
[−]
[src]
pub struct CFGR { /* fields omitted */ }
Clock configuration
Methods
impl CFGR
[src]
fn hclk<F>(self, freq: F) -> Self where
F: Into<Hertz>,
[src]
F: Into<Hertz>,
Sets a frequency for the AHB bus
fn pclk1<F>(self, freq: F) -> Self where
F: Into<Hertz>,
[src]
F: Into<Hertz>,
Sets a frequency for the APB1 bus
fn pclk2<F>(self, freq: F) -> Self where
F: Into<Hertz>,
[src]
F: Into<Hertz>,
Sets a frequency for the APB2 bus
fn sysclk<F>(self, freq: F) -> Self where
F: Into<Hertz>,
[src]
F: Into<Hertz>,
Sets the system (core) frequency
fn freeze(self, acr: &mut ACR) -> Clocks
[src]
Freezes the clock configuration, making it effective