diff options
author | Jonathan Hogg <me@jonathanhogg.com> | 2023-08-15 13:03:45 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-08-01 23:45:18 +1000 |
commit | c3f3339c87444acec814a150fdad28e650483405 (patch) | |
tree | 215915b2cd5c0c1699bde05b5e83b3b539d06d88 /tests/micropython/heapalloc_inst_call.py | |
parent | bf6f229cf3feb6767d37b9df9dcf1e2d9abc49bd (diff) |
esp32/modesp32: Add esp32.PCNT class.
Add a new `esp32.PCNT` class that provides complete, low-level support to
the ESP32 PCNT pulse counting hardware units.
This can be used as a building block to implement the higher-level
`machine.Counter` and `machine.Encoder` classes.
This is enabled by default on all OG, S2, S3, C6 boards, but not on C3 (as
the PCNT peripheral is not supported).
Original implementation by: Jonathan Hogg <me@jonathanhogg.com>
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'tests/micropython/heapalloc_inst_call.py')
0 files changed, 0 insertions, 0 deletions