Struct stm32f103xx_hal::rcc::Clocks
[−]
[src]
pub struct Clocks { /* fields omitted */ }
Frozen clock frequencies
The existence of this value indicates that the clock configuration can no longer be changed
Methods
impl Clocks
[src]
pub fn hclk(&self) -> Hertz
[src]
Returns the frequency of the AHB
pub fn pclk1(&self) -> Hertz
[src]
Returns the frequency of the APB1
pub fn pclk2(&self) -> Hertz
[src]
Returns the frequency of the APB2
pub fn sysclk(&self) -> Hertz
[src]
Returns the system (core) frequency
Trait Implementations
impl Clone for Clocks
[src]
fn clone(&self) -> Clocks
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more