Struct stm32f0x0_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]
impl Clocks
pub fn hclk(&self) -> Hertz
[src]
pub fn hclk(&self) -> Hertz
Returns the frequency of the AHB
pub fn pclk1(&self) -> Hertz
[src]
pub fn pclk1(&self) -> Hertz
Returns the frequency of the APB1
pub fn sysclk(&self) -> Hertz
[src]
pub fn sysclk(&self) -> Hertz
Returns the system (core) frequency
Trait Implementations
impl Clone for Clocks
[src]
impl Clone for Clocks
fn clone(&self) -> Clocks
[src]
fn clone(&self) -> Clocks
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Clocks
[src]
impl Copy for Clocks