diff options
| author | robert-hh <robert@hammelrath.com> | 2022-06-10 16:40:50 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-10-06 23:00:00 +1100 |
| commit | a4157521731878c7363ff59f15d68eb68b486cb5 (patch) | |
| tree | acee34176b9098d9fa6e52e1a2aeb08993d8a264 /py/gc.h | |
| parent | fd7b57dd22ce0105e04c5f9b2d12ca3a3075ca0a (diff) | |
samd/machine_bitstream: Add the machine.bitstream() function.
The SAMD21 implementation is an adaption of @jimmo's code for STM32Lxx.
The only changes are the addresses and names of the port registers and the
timing parameters.
SAMD21: The precision is about +/-25ns at 48MHz clock frequency. The first
two cycles are about 40-60 ns longer than set. But still good enough to
drive a neopixel device.
SAMD51: The precision is about +/-30ns at 120MHz clock frequency. Good
enough to drive a neopixel device.
Diffstat (limited to 'py/gc.h')
0 files changed, 0 insertions, 0 deletions
