[−][src]Module circuit_playground_express::clock
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
ClockParams | Helper type for computing effective frequency given a source clock frequency and a desired frequency. |
GClock | Represents a configured clock generator.
Can be converted into the effective clock frequency.
Its primary purpose is to be passed in to methods
such as |
GenericClockController |
|
Sercom0CoreClock | 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 |
Sercom1CoreClock | 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 |
Sercom2CoreClock | 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 |
Sercom3CoreClock | 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 |
Sercom4CoreClock | 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 |
Sercom5CoreClock | 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 |
Tc4Tc5Clock | 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 |
Tc6Tc7Clock | 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 |
Tcc2Tc3Clock | 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 |
UsbClock | 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 |
Constants
OSC32K_FREQ | The frequency of the 32Khz source. |
OSC48M_FREQ | The frequency of the 48Mhz source. |
Type Definitions
ClockGenId | |
ClockId | |
ClockSource |