circuitpython/ports/raspberrypi/bindings/cyw43
Jeff Epler 09f6919c93
Add ability to read VOLTAGE_MONITOR on Pico W
Because this must be treated like an in-use pin for all other purposes,
unfortunately a special case must be added in shared-bindings.

Multiple AnalogIn objects for VOLTAGE_MONITOR can be created (because
in use tracking isn't working) but this causes no harm.

Testing performed: Read the monitor, then imported wifi. When the
pin state was insufficiently restored, the second step would fail
with debug messages about do_ioctl timeout.

```
import analogio, board
a = analogio.AnalogIn(board.VOLTAGE_MONITOR)
print(a.value)
import wifi
```

Closes: #7020
2022-11-08 09:37:15 -06:00
..
__init__.c Add ability to read VOLTAGE_MONITOR on Pico W 2022-11-08 09:37:15 -06:00
__init__.h Add ability to read VOLTAGE_MONITOR on Pico W 2022-11-08 09:37:15 -06:00