diff options
| author | robert-hh <robert@hammelrath.com> | 2022-06-04 16:31:46 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-10-06 22:33:31 +1100 |
| commit | b4d29fd47a52526bc9626e5dc28794fa1d95dcf2 (patch) | |
| tree | 801ac84dbe9522179a0ae7141bc35bc813eb217a /py/opmethods.c | |
| parent | 949a808076f10f9f7e25fd9ebe4a03b8cc397e1f (diff) | |
samd/clock_config: Set up the clock configuration.
Clock settings:
- GCLK0: 48 MHz (SAMD21) or 120 MHz(SAMD51).
- GCLK1: 32768 Hz for driving the PLL.
- GCLK2: 48 MHz for tzhe peripheral clock.
- GCLK3: 1 MHz (SAMD21) or 8 MHz (SAMD51) for the µs ticks timer.
- GCLK8: 1 kHz for WDT (SAMD21 only).
If a 32 kHz crystal is present, it will be used as clock source. Otherwise
the DFLL48M in open-loop mode is used.
GCLK0 for SAM51 can be changed between 48 MHz and 200 MHz. The specified
range is 96 MHz - 120 MHz.
Diffstat (limited to 'py/opmethods.c')
0 files changed, 0 insertions, 0 deletions
