pub struct Tokens {
    pub apbs: ApbTokens,
    pub dpll0: DpllToken<Dpll0Id>,
    pub dpll1: DpllToken<Dpll1Id>,
    pub gclks: GclkTokens,
    pub pclks: PclkTokens,
    pub rtcosc: RtcOscToken,
    pub xosc0: XoscToken<Xosc0Id>,
    pub xosc1: XoscToken<Xosc1Id>,
    pub xosc32k: Xosc32kTokens,
    pub osculp32k: OscUlp32kTokens,
}
Expand description

Type-level tokens for unused clocks at power-on reset

This type is constructed using the clock_system_at_reset function, which consumes the PAC-level clocking structs and returns the HAL-level clocking structs in their reset state.

As described in the top-level documentation for the clock module, token types are used to guanrantee the uniqueness of each clock. To configure or enable a clock, you must provide the corresponding token.

Fields

apbs: ApbTokens

Tokens to create apb::ApbClks

dpll0: DpllToken<Dpll0Id>

Token to create dpll::Dpll0

dpll1: DpllToken<Dpll1Id>

Token to create dpll::Dpll1

gclks: GclkTokens

Tokens to create gclk::Gclk

pclks: PclkTokens

Tokens to create pclk::Pclks

rtcosc: RtcOscToken

Tokens to create rtcosc::RtcOsc

xosc0: XoscToken<Xosc0Id>

Tokens xosc::Xosc0

xosc1: XoscToken<Xosc1Id>

Token to create xosc::Xosc1

xosc32k: Xosc32kTokensosculp32k: OscUlp32kTokens

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.