pub struct SystemClocks {
pub cpu_clk: u32,
pub pclk: u32,
pub tcxo_freq: TcxoFreq,
pub pll_locked: bool,
}Expand description
System clock configuration after initialization.
Fields§
§cpu_clk: u32CPU clock (PLL output, 240 MHz).
pclk: u32Peripheral bus clock (PCLK, 240 MHz default).
tcxo_freq: TcxoFreqTCXO crystal frequency.
pll_locked: boolWhether the PLL is locked.
Implementations§
Source§impl SystemClocks
impl SystemClocks
Trait Implementations§
Source§impl Clone for SystemClocks
impl Clone for SystemClocks
Source§fn clone(&self) -> SystemClocks
fn clone(&self) -> SystemClocks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SystemClocks
Auto Trait Implementations§
impl Freeze for SystemClocks
impl RefUnwindSafe for SystemClocks
impl Send for SystemClocks
impl Sync for SystemClocks
impl Unpin for SystemClocks
impl UnsafeUnpin for SystemClocks
impl UnwindSafe for SystemClocks
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more