Struct esp32c2_hal::clock::Clocks
source · pub struct Clocks<'d> {
pub cpu_clock: Rate<u32, 1, 1>,
pub apb_clock: Rate<u32, 1, 1>,
pub xtal_clock: Rate<u32, 1, 1>,
/* private fields */
}
Expand description
Frozen clock frequencies
The existence of this value indicates that the clock configuration can no longer be changed
Fields§
§cpu_clock: Rate<u32, 1, 1>
§apb_clock: Rate<u32, 1, 1>
§xtal_clock: Rate<u32, 1, 1>
Auto Trait Implementations§
impl<'d> RefUnwindSafe for Clocks<'d>
impl<'d> Send for Clocks<'d>
impl<'d> Sync for Clocks<'d>
impl<'d> Unpin for Clocks<'d>
impl<'d> !UnwindSafe for Clocks<'d>
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