Struct esp32c2_hal::clock::Clocks
source · pub struct Clocks {
pub cpu_clock: Rate<u32, 1, 1>,
pub apb_clock: Rate<u32, 1, 1>,
pub xtal_clock: Rate<u32, 1, 1>,
pub i2c_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>
i2c_clock: Rate<u32, 1, 1>
Auto Trait Implementations
impl RefUnwindSafe for Clocks
impl Send for Clocks
impl Sync for Clocks
impl Unpin for Clocks
impl UnwindSafe for Clocks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more