pub struct PclkToken<P: PclkId> { /* private fields */ }Expand description
Singleton token that can be exchanged for a Pclk
As explained in the clock module documentation, instances of
various Token types can be exchanged for actual clock types. They
typically represent clocks that are disabled at power-on reset.
PclkTokens are no different. All Pclks are disabled at power-on
reset. To use a Pclk, you must first exchange the token for an actual
clock with the Pclk::enable function.
PclkToken is generic over the PclkId, where each token represents a
corresponding peripheral clock channel.
Auto Trait Implementations
impl<P> RefUnwindSafe for PclkToken<P>where
    P: RefUnwindSafe,
impl<P> Send for PclkToken<P>where
    P: Send,
impl<P> Sync for PclkToken<P>where
    P: Sync,
impl<P> Unpin for PclkToken<P>where
    P: Unpin,
impl<P> UnwindSafe for PclkToken<P>where
    P: UnwindSafe,
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