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.
- GClock
- Represents a configured clock generator.
- Generic
Clock Controller GenericClockController
encapsulates the Gclk hardware.- 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.
- Tc1Tc2
Clock - A typed token that indicates that the clock for the peripheral(s) with the matching name has been configured.
- Tcc0
Clock - 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