Struct stm32f30x_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]
fn hclk(&self) -> Hertz
[src]
Returns the frequency of the AHB
fn pclk1(&self) -> Hertz
[src]
Returns the frequency of the APB1
fn pclk2(&self) -> Hertz
[src]
Returns the frequency of the APB2
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