circuitpython/ports/raspberrypi/boards/raspberry_pi_pico_w
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
..
board.c better to explain why this file has no useful content 2022-09-28 15:19:06 -05:00
link.ld Fix CIRCUITPY drive offset in flash correctly, accounting for NVM 2022-10-06 12:39:46 -05:00
mpconfigboard.h Add STEMMA_I2C() object to Picos for Cowbells. 2022-10-24 16:27:32 -04:00
mpconfigboard.mk implement hashlib for picow 2022-10-13 20:42:50 -05:00
pico-sdk-configboard.h cyw43 basic gpio support, hwaddr in boot_out 2022-09-28 10:06:33 -05:00
pins.c Add ability to read VOLTAGE_MONITOR on Pico W 2022-11-08 09:37:15 -06:00