Struct stm32l0x1_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 APB
pub fn pclk2(&self) -> Hertz
[src]
pub fn pclk2(&self) -> Hertz
Returns the frequency of the APB
pub fn sysclk(&self) -> Hertz
[src]
pub fn sysclk(&self) -> Hertz
Returns the system (core) frequency
pub fn release(self) -> Power
[src]
pub fn release(self) -> Power
Release the power peripheral so it can be reconfigured