diff options
author | Peter Harper <peter.harper@raspberrypi.com> | 2024-10-09 18:03:55 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-12-19 16:54:39 +1100 |
commit | 4a6c2460083607ba05ab8af13a31889767c2ce98 (patch) | |
tree | 77a899450a10452ff283a69f2bf802f1f1a6396f /tests/micropython/builtin_execfile.py | |
parent | 30163e0ae483a3c04e57f8346e903a6bc2e0e2cd (diff) |
rp2/mphalport: Add mp_hal_is_pin_reserved() function.
As cyw43 pins might be dynamic, add a function that returns if a pin is
reserved. This is used by `MICROPY_HW_PIN_RESERVED` to prevent the pin IRQ
from being reset across a soft-reset.
Signed-off-by: Peter Harper <peter.harper@raspberrypi.com>
Diffstat (limited to 'tests/micropython/builtin_execfile.py')
0 files changed, 0 insertions, 0 deletions