pub struct Clocks {
pub sysclk: u32,
pub pclk: u32,
}Expand description
Clocks after configuration.
Fields§
§sysclk: u32System (CPU) clock frequency in Hz.
pclk: u32Peripheral bus clock frequency in Hz.
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 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