pub struct Clocks { /* private fields */ }
Expand description
Frozen clock frequencies
The existence of this value indicates that the clock configuration can no longer be changed
Implementations§
Source§impl Clocks
impl Clocks
Sourcepub fn apb1_tim_clk(&self) -> Hertz
pub fn apb1_tim_clk(&self) -> Hertz
Returns the frequency of the APB1 timers
Sourcepub fn apb2_tim_clk(&self) -> Hertz
pub fn apb2_tim_clk(&self) -> Hertz
Returns the frequency of the APB2 timers
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Clocks
impl RefUnwindSafe for Clocks
impl Send for Clocks
impl Sync for Clocks
impl Unpin for Clocks
impl UnwindSafe for Clocks
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