Struct stm32h7xx_hal::rcc::CoreClocks
source · pub struct CoreClocks { /* private fields */ }
Expand description
Frozen core clock frequencies
The existence of this value indicates that the core clock configuration can no longer be changed
Implementations§
source§impl CoreClocks
impl CoreClocks
sourcepub fn csi_ck(&self) -> Option<Hertz>
pub fn csi_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if
csi_ck
is running, otherwise None
sourcepub fn hsi_ck(&self) -> Option<Hertz>
pub fn hsi_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if
hsi_ck
is running, otherwise None
sourcepub fn hsi48_ck(&self) -> Option<Hertz>
pub fn hsi48_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if
hsi48_ck
is running, otherwise None
sourcepub fn per_ck(&self) -> Option<Hertz>
pub fn per_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if
per_ck
is running, otherwise None
sourcepub fn hse_ck(&self) -> Option<Hertz>
pub fn hse_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if
hse_ck
is running, otherwise None
sourcepub fn lsi_ck(&self) -> Option<Hertz>
pub fn lsi_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if
lsi_ck
is running, otherwise None
sourcepub fn mco1_ck(&self) -> Option<Hertz>
pub fn mco1_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the MCO1 output is running, otherwise
None
sourcepub fn mco2_ck(&self) -> Option<Hertz>
pub fn mco2_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the MCO2 output is running, otherwise
None
sourcepub fn pll1_p_ck(&self) -> Option<Hertz>
pub fn pll1_p_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the PLLx output is running,
otherwise None
sourcepub fn pll1_q_ck(&self) -> Option<Hertz>
pub fn pll1_q_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the PLLx output is running,
otherwise None
sourcepub fn pll1_r_ck(&self) -> Option<Hertz>
pub fn pll1_r_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the PLLx output is running,
otherwise None
sourcepub fn pll2_p_ck(&self) -> Option<Hertz>
pub fn pll2_p_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the PLLx output is running,
otherwise None
sourcepub fn pll2_q_ck(&self) -> Option<Hertz>
pub fn pll2_q_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the PLLx output is running,
otherwise None
sourcepub fn pll2_r_ck(&self) -> Option<Hertz>
pub fn pll2_r_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the PLLx output is running,
otherwise None
sourcepub fn pll3_p_ck(&self) -> Option<Hertz>
pub fn pll3_p_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the PLLx output is running,
otherwise None
sourcepub fn pll3_q_ck(&self) -> Option<Hertz>
pub fn pll3_q_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the PLLx output is running,
otherwise None
sourcepub fn pll3_r_ck(&self) -> Option<Hertz>
pub fn pll3_r_ck(&self) -> Option<Hertz>
Returns Some(frequency)
if the PLLx output is running,
otherwise None
sourcepub fn timx_ker_ck(&self) -> Hertz
pub fn timx_ker_ck(&self) -> Hertz
Returns the CK_INT frequency for timers on APB1
sourcepub fn timy_ker_ck(&self) -> Hertz
pub fn timy_ker_ck(&self) -> Hertz
Returns the CK_INT frequency for timers on APB2
Trait Implementations§
source§impl Clone for CoreClocks
impl Clone for CoreClocks
source§fn clone(&self) -> CoreClocks
fn clone(&self) -> CoreClocks
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more