pub struct Tc0Tc1Clock { /* 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

Returns the frequency of the configured clock

Trait Implementations

Formats the value using the given formatter. Read more

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

Converts to this type from the input type.
Converts this type into the (usually inferred) input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.