diff options
| author | robert-hh <robert@hammelrath.com> | 2022-06-29 15:31:21 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-10-25 22:38:45 +1100 |
| commit | edc3f3d0d3c4099dc6bce5371df0e1c3c5a4aecb (patch) | |
| tree | 13f18e1e62710288b211c1a5b5e861d14795654a /py/makecompresseddata.py | |
| parent | 1ba0e8ff96334af986d2b7d90f6d86af27595d28 (diff) | |
samd/clock_config: Extend the range of machine.freq().
The value given for machine.freq(f) is extend to the range of 1_000_000 to
200_000_000. Frequencies below 48 MHz will be forced to an integer
fraction of 48 MHz. At frequencies below 8 MHz USB is switched off. The
power consumption e.g. of ADAFRUIT_ITSYBITSY_M4_EXPRESS drops to about
1.5 mA at 1 MHz.
Since the peripheral frequency is dropped as well, timing e.g. of PWM,
UART, I2C and SPI is affected and frequency/baud rate has to set again
after a frequency change below 48 MHz.
Diffstat (limited to 'py/makecompresseddata.py')
0 files changed, 0 insertions, 0 deletions
