Expand description
Configuring the system clock sources.
You will typically need to create an instance of GenericClockController
before you can set up most of the peripherals on the atsamd21 device.
The other types in this module are used to enforce at compile time
that the peripherals have been correctly configured.
Structs§
- AcAna
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- AcDig
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- AdcClock
- A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- DacClock
- A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- EicClock
- A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys0
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys1
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys2
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys3
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys4
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys5
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys6
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys7
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys8
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys9
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys10
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Evsys11
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- GClock
- Represents a configured clock generator.
- Generic
Clock Controller GenericClockController
encapsulates the Gclk hardware.- I2S0
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- I2S1
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- RtcClock
- A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Sercom0
Core Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Sercom1
Core Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Sercom2
Core Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Sercom3
Core Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Sercom4
Core Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Sercom5
Core Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Tc4Tc5
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Tc6Tc7
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Tcc0
Tcc1 Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Tcc2
Tc3Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- UsbClock
- A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- WdtClock
- A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
Constants§
- OSC8M_
FREQ - The frequency of the 8 Mhz source.
- OSC32K_
FREQ - The frequency of the 32Khz source.
- OSC48M_
FREQ - The frequency of the 48Mhz source.
Functions§
- enable_
external_ 32kosc - Turn on the external 32hkz oscillator
- enable_
internal_ 32kosc - Turn on the internal 32hkz oscillator