feat(gpio): update gpio docs on ESP32C5 MP version

This commit is contained in:
gaoxu
2024-04-24 17:18:58 +08:00
parent 605f2309bf
commit 3db559ab21
7 changed files with 55 additions and 36 deletions

View File

@@ -9,8 +9,6 @@
.. gpio-summary
Current GPIOs are for {IDF_TARGET_NAME} beta3 version. {IDF_TARGET_NAME} MP version would have 2 more available IOs, and some pin functions are changed. The {IDF_TARGET_NAME} MP version will be updated later.
The {IDF_TARGET_NAME} chip features 27 physical GPIO pins (GPIO0 ~ GPIO26). Each pin can be used as a general-purpose I/O, or to be connected to an internal peripheral signal. Through GPIO matrix and IO MUX, peripheral input signals can be from any IO pins, and peripheral output signals can be routed to any IO pins. Together these modules provide highly configurable I/O. For more details, see *{IDF_TARGET_NAME} Technical Reference Manual* > *IO MUX and GPIO Matrix (GPIO, IO_MUX)* [`PDF <{IDF_TARGET_TRM_EN_URL}#iomuxgpio>`__].
The table below provides more information on pin usage, and please note the comments in the table for GPIOs with restrictions.
@@ -42,7 +40,7 @@ The table below provides more information on pin usage, and please note the comm
* - GPIO3
- ADC1_CH2
- LP_GPIO3
- Strapping pin
-
* - GPIO4
- ADC1_CH3
@@ -57,7 +55,7 @@ The table below provides more information on pin usage, and please note the comm
* - GPIO6
- ADC1_CH5
- LP_GPIO6
- Strapping pin
-
* - GPIO7
-
@@ -92,12 +90,12 @@ The table below provides more information on pin usage, and please note the comm
* - GPIO13
-
-
-
- USB-JTAG
* - GPIO14
-
-
-
- USB-JTAG
* - GPIO15
-
@@ -107,12 +105,12 @@ The table below provides more information on pin usage, and please note the comm
* - GPIO16
-
-
-
- SPI0/1
* - GPIO17
-
-
-
- SPI0/1
* - GPIO18
-
@@ -142,27 +140,37 @@ The table below provides more information on pin usage, and please note the comm
* - GPIO23
-
-
- SPI0/1
-
* - GPIO24
-
-
- SPI0/1
-
* - GPIO25
-
-
- USB-JTAG
-
* - GPIO26
-
-
- USB-JTAG
-
* - GPIO27
-
-
- Strapping pin
* - GPIO28
-
-
- Strapping pin
.. note::
- Strapping pin: GPIO2, GPIO3, GPIO6, and GPIO7 are strapping pins. For more information, please refer to `datasheet <{IDF_TARGET_DATASHEET_EN_URL}>`__.
- SPI0/1: GPIO18 ~ GPIO24 are usually used for SPI flash and not recommended for other uses.
- USB-JTAG: GPIO25 and GPIO26 are used by USB-JTAG by default. If they are reconfigured to operate as normal GPIOs, USB-JTAG functionality will be disabled.
- Strapping pin: GPIO2, GPIO7, GPIO27, and GPIO28 are strapping pins. For more information, please refer to `datasheet <{IDF_TARGET_DATASHEET_EN_URL}>`__.
- SPI0/1: GPIO16 ~ GPIO22 are usually used for SPI flash and not recommended for other uses.
- USB-JTAG: GPIO13 and GPIO14 are used by USB-JTAG by default. If they are reconfigured to operate as normal GPIOs, USB-JTAG functionality will be disabled.
---