Struct atsamd_hal::clock::Tc1Tc2Clock
source · [−]pub struct Tc1Tc2Clock { /* 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
sourceimpl Tc1Tc2Clock
impl Tc1Tc2Clock
Trait Implementations
sourceimpl Debug for Tc1Tc2Clock
impl Debug for Tc1Tc2Clock
Auto Trait Implementations
impl RefUnwindSafe for Tc1Tc2Clock
impl Send for Tc1Tc2Clock
impl Sync for Tc1Tc2Clock
impl Unpin for Tc1Tc2Clock
impl UnwindSafe for Tc1Tc2Clock
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