pub struct Clocks { /* private fields */ }Expand description
Frozen clock frequencies, produced by UnfrozenRcu::freeze.
Implementations§
Source§impl Clocks
impl Clocks
Sourcepub fn ck_adc(&self) -> Hertz
pub fn ck_adc(&self) -> Hertz
Clock feeding the ADC. Zero while AdcSel::Off stands.
Sourcepub fn pclk1_tim(&self) -> Hertz
pub fn pclk1_tim(&self) -> Hertz
Clock feeding the timers on APB1 (TIMER2, TIMER5, TIMER13).
Equal to pclk1 only when the APB1 prescaler is
ApbPsc::Div1; on every other divider the timers are fed twice the
bus clock, so the bus clock cannot be used in a timer period formula.
Trait Implementations§
impl Copy for Clocks
impl Eq for Clocks
impl StructuralPartialEq for Clocks
Auto Trait Implementations§
impl Freeze for Clocks
impl RefUnwindSafe for Clocks
impl Send for Clocks
impl Sync for Clocks
impl Unpin for Clocks
impl UnsafeUnpin 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