summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-06-29 17:22:20 +0200
committerDamien George <damien@micropython.org>2022-10-25 22:40:16 +1100
commit1c32cec7f11864a9bc67f988e39e7dfc7c33188e (patch)
tree328c5af0010e88514f6907db98a5751a040c40b0 /tests
parentedc3f3d0d3c4099dc6bce5371df0e1c3c5a4aecb (diff)
samd/clock_config: Support changing machine.freq() for SAMD21.
The range is 1MHz - 48 MHz. Note that below 8 MHz there is no USB support. The frequency will be set to an integer fraction of 48 MHz. And after changing the frequency, the peripherals like PWM, UART, I2C, SPI have to be reconfigured. Current consumption e.g. of the Seeed Xiao board at 1 MHz is about 1.5 mA, mostly caused by the on-board LED (green LED with 1k resistor at 3.3V).
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions