summaryrefslogtreecommitdiff
path: root/docs/esp32/tutorial
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2022-10-25 18:43:38 +0200
committerDamien George <damien@micropython.org>2023-01-16 11:37:18 +1100
commit66e0cfc3b96b60e8be7e69e004ded525cedc3391 (patch)
treef52551fbd5a5427f554ccbff12913ab90aa00cb2 /docs/esp32/tutorial
parentf4811b0b42f10aa12fc2f94c0459344d84c89eb8 (diff)
rp2/machine_pin: Refactor the machine.Pin class for external GPIO.
Handle externally controlled GPIO pins more generically, by removing all CYW43-specific code from `machine_pin.c`, and adding hooks to initialise, configure, read and write external pins. This allows any driver for an on-board module which controls GPIO pins (such as CYW43 or NINA), to provide its own implementation of those hooks and work seamlessly with `machine_pin.c`.
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions