micropython/ports/samd/mcu
robert-hh 1c32cec7f1 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).
2022-10-25 22:40:16 +11:00
..
samd21 samd/clock_config: Support changing machine.freq() for SAMD21. 2022-10-25 22:40:16 +11:00
samd51 samd/clock_config: Support changing machine.freq() for SAMD21. 2022-10-25 22:40:16 +11:00