Struct atsamd_hal::clock::v1::Tcc0Tcc1Clock
source · [−]pub struct Tcc0Tcc1Clock { /* 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 Tcc0Tcc1Clock
impl Tcc0Tcc1Clock
Trait Implementations
sourceimpl Debug for Tcc0Tcc1Clock
impl Debug for Tcc0Tcc1Clock
sourceimpl<I: PclkSourceId> From<Pclk<Tcc0Tcc1, I>> for Tcc0Tcc1Clock
impl<I: PclkSourceId> From<Pclk<Tcc0Tcc1, I>> for Tcc0Tcc1Clock
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 RefUnwindSafe for Tcc0Tcc1Clock
impl Send for Tcc0Tcc1Clock
impl Sync for Tcc0Tcc1Clock
impl Unpin for Tcc0Tcc1Clock
impl UnwindSafe for Tcc0Tcc1Clock
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