doc: initial parallel IO programming guide

Also correct the GPIO information on esp32h2.
This commit is contained in:
morris
2023-02-22 13:29:31 +08:00
parent f534247a00
commit a7f5ff32ff
8 changed files with 48 additions and 10 deletions

View File

@@ -62,11 +62,11 @@ The table below provides more information on pin usage, and please note the comm
- Strapping pin
* - GPIO10
-
- Analog comparator reference voltage
-
* - GPIO11
-
- Analog comparator input (non-inverting)
-
* - GPIO12
@@ -137,7 +137,8 @@ The table below provides more information on pin usage, and please note the comm
- Strapping pin: GPIO2, GPIO3, GPIO8, GPIO9, and GPIO25 are strapping pins. For more infomation, please refer to `ESP32H2 datasheet <https://www.espressif.com/sites/default/files/documentation/esp32h2_datasheet_en.pdf>`_.
- SPI0/1: GPIO15-21 are usually used for SPI flash and not recommended for other uses.
- USB-JTAG: GPIO 26 and 27 are used by USB-JTAG by default. In order to use them as GPIOs, USB-JTAG will be disabled by the drivers.
- For chip variants with an SiP flash built in, GPIO15 ~ GPIO21 are dedicated to connecting the SiP flash; therefore, only the remaining 21 GPIO pins are available.
- USB-Serial-JTAG: GPIO 26 and 27 are used by USB-Serial-JTAG by default. In order to use them as GPIOs, USB-Serial-JTAG will be disabled by the drivers.
- For chip variants with an SiP flash built in, GPIO15 ~ GPIO21 are dedicated to connecting the SiP flash and are not fan-out to the external pins. In addition, GPIO6 ~ GPIO7 are also not fan-out to the external pins. In conclusion, only GPIO0~ GPIO5, GPIO8~ GPIO14, GPIO22~ GPIO27 are available to users.
- For chip variant without SiP flash, apart from the flash IOs mentioned above, GPIO22 is not fan-out to the external pin, thus they're not available to users.
---