diff options
| author | iabdalkader <i.abdalkader@gmail.com> | 2022-10-25 18:43:38 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-01-16 11:37:18 +1100 |
| commit | 66e0cfc3b96b60e8be7e69e004ded525cedc3391 (patch) | |
| tree | f52551fbd5a5427f554ccbff12913ab90aa00cb2 /py/objmodule.c | |
| parent | f4811b0b42f10aa12fc2f94c0459344d84c89eb8 (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 'py/objmodule.c')
0 files changed, 0 insertions, 0 deletions
