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::ApbClk
s
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::Pclk
s
rtcosc: RtcOscToken
Tokens to create rtcosc::RtcOsc
xosc0: XoscToken<Xosc0Id>
Tokens xosc::Xosc0
xosc1: XoscToken<Xosc1Id>
Token to create xosc::Xosc1
xosc32k: Xosc32kTokens
Tokens to create xosc32k::Xosc32kBase
, xosc32k::Xosc1k
and
xosc32k::Xosc32k
osculp32k: OscUlp32kTokens
Tokens to create osculp32k::OscUlp1k
and osculp32k::OscUlp32k