[][src]Struct feather_m0::clock::Tc4Tc5Clock

pub struct Tc4Tc5Clock { /* fields omitted */ }

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.

Methods

impl Tc4Tc5Clock[src]

pub fn freq(&self) -> Hertz[src]

Returns the frequency of the configured clock

Trait Implementations

impl Debug for Tc4Tc5Clock[src]

impl Into<Hertz> for Tc4Tc5Clock[src]

Auto Trait Implementations

impl Send for Tc4Tc5Clock

impl Sync for Tc4Tc5Clock

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]