pub struct Sercom2CoreClock { /* private fields */ }
Expand description
A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
The effective clock frequency is available via the freq
method,
or by converting the object into a Hertz
instance.
The peripheral initialization code will typically require passing
in this object to prove at compile time that the clock has been
correctly initialized.
Implementations§
Trait Implementations§
Source§impl Debug for Sercom2CoreClock
impl Debug for Sercom2CoreClock
Source§impl<I: PclkSourceId> From<Pclk<Sercom2, I>> for Sercom2CoreClock
V2 to V1 compatibility layer that allows to convert V2 Pclk
constructs
into corresponding V1 *Clock
types. Thus, user can manage V1 clocking
compatible peripherals while using V2 clocking API
impl<I: PclkSourceId> From<Pclk<Sercom2, I>> for Sercom2CoreClock
V2 to V1 compatibility layer that allows to convert V2 Pclk
constructs
into corresponding V1 *Clock
types. Thus, user can manage V1 clocking
compatible peripherals while using V2 clocking API
Auto Trait Implementations§
impl Freeze for Sercom2CoreClock
impl RefUnwindSafe for Sercom2CoreClock
impl Send for Sercom2CoreClock
impl Sync for Sercom2CoreClock
impl Unpin for Sercom2CoreClock
impl UnwindSafe for Sercom2CoreClock
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