circuitpython/docs/esp32
Jonathan Hogg 7684c996bc esp32/machine_pin: Add new hold keyword argument and remove PULL_HOLD.
The current pull=Pin.PULL_HOLD argument doesn't make a lot of sense in the
context of what it actually does vs what the ESP32 quickref document says
it does.

This commit removes PULL_HOLD and adds a new hold=True|False keyword
argument to Pin()/Pin.init().  Setting this to True will cause the ESP32 to
lock the configuration of the pin – including direction, output value,
drive strength, pull-up/-down – such that it can't be accidentally changed
and will be retained through a watchdog or internal reset.

Fixes issue #8283, and see also #8284.
2022-03-21 23:55:02 +11:00
..
img docs: Add initial docs for esp32 port, including quick-ref and general. 2019-01-25 12:18:34 +11:00
tutorial docs: Remove trailing spaces and convert tabs to spaces. 2021-12-15 11:49:22 +11:00
general.rst docs/esp32: Add quickref and full docs for esp32.RMT class. 2019-12-20 12:25:38 +11:00
quickref.rst esp32/machine_pin: Add new hold keyword argument and remove PULL_HOLD. 2022-03-21 23:55:02 +11:00