gpio.rst 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934
  1. GPIO & RTC GPIO
  2. ===============
  3. :link_to_translation:`zh_CN:[中文]`
  4. Overview
  5. --------
  6. .. only:: esp32
  7. The {IDF_TARGET_NAME} chip features 34 physical GPIO pins (GPIO0 ~ GPIO19, GPIO21 ~ GPIO23, GPIO25 ~ GPIO27, and GPIO32 ~ GPIO39). Each pin can be used as a general-purpose I/O, or be connected to an internal peripheral signal. Through IO MUX, RTC IO MUX and the GPIO matrix, 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>`__].
  8. The table below provides more information on pin usage, and please note the comments in the table for GPIOs with restrictions.
  9. .. list-table::
  10. :header-rows: 1
  11. :widths: 8 12 12 20
  12. * - GPIO
  13. - Analog Function
  14. - RTC GPIO
  15. - Comments
  16. * - GPIO0
  17. - ADC2_CH1
  18. - RTC_GPIO11
  19. - Strapping pin
  20. * - GPIO1
  21. -
  22. -
  23. - TXD
  24. * - GPIO2
  25. - ADC2_CH2
  26. - RTC_GPIO12
  27. - Strapping pin
  28. * - GPIO3
  29. -
  30. -
  31. - RXD
  32. * - GPIO4
  33. - ADC2_CH0
  34. - RTC_GPIO10
  35. -
  36. * - GPIO5
  37. -
  38. -
  39. - Strapping pin
  40. * - GPIO6
  41. -
  42. -
  43. - SPI0/1
  44. * - GPIO7
  45. -
  46. -
  47. - SPI0/1
  48. * - GPIO8
  49. -
  50. -
  51. - SPI0/1
  52. * - GPIO9
  53. -
  54. -
  55. - SPI0/1
  56. * - GPIO10
  57. -
  58. -
  59. - SPI0/1
  60. * - GPIO11
  61. -
  62. -
  63. - SPI0/1
  64. * - GPIO12
  65. - ADC2_CH5
  66. - RTC_GPIO15
  67. - Strapping pin; JTAG
  68. * - GPIO13
  69. - ADC2_CH4
  70. - RTC_GPIO14
  71. - JTAG
  72. * - GPIO14
  73. - ADC2_CH6
  74. - RTC_GPIO16
  75. - JTAG
  76. * - GPIO15
  77. - ADC2_CH3
  78. - RTC_GPIO13
  79. - Strapping pin; JTAG
  80. * - GPIO16
  81. -
  82. -
  83. - SPI0/1
  84. * - GPIO17
  85. -
  86. -
  87. - SPI0/1
  88. * - GPIO18
  89. -
  90. -
  91. -
  92. * - GPIO19
  93. -
  94. -
  95. -
  96. * - GPIO21
  97. -
  98. -
  99. -
  100. * - GPIO22
  101. -
  102. -
  103. -
  104. * - GPIO23
  105. -
  106. -
  107. -
  108. * - GPIO25
  109. - ADC2_CH8
  110. - RTC_GPIO6
  111. -
  112. * - GPIO26
  113. - ADC2_CH9
  114. - RTC_GPIO7
  115. -
  116. * - GPIO27
  117. - ADC2_CH7
  118. - RTC_GPIO17
  119. -
  120. * - GPIO32
  121. - ADC1_CH4
  122. - RTC_GPIO9
  123. -
  124. * - GPIO33
  125. - ADC1_CH5
  126. - RTC_GPIO8
  127. -
  128. * - GPIO34
  129. - ADC1_CH6
  130. - RTC_GPIO4
  131. - GPI
  132. * - GPIO35
  133. - ADC1_CH7
  134. - RTC_GPIO5
  135. - GPI
  136. * - GPIO36
  137. - ADC1_CH0
  138. - RTC_GPIO0
  139. - GPI
  140. * - GPIO37
  141. - ADC1_CH1
  142. - RTC_GPIO1
  143. - GPI
  144. * - GPIO38
  145. - ADC1_CH2
  146. - RTC_GPIO2
  147. - GPI
  148. * - GPIO39
  149. - ADC1_CH3
  150. - RTC_GPIO3
  151. - GPI
  152. .. note::
  153. - Strapping pin: GPIO0, GPIO2, GPIO5, GPIO12 (MTDI), and GPIO15 (MTDO) are strapping pins. For more infomation, please refer to `ESP32 datasheet <https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf>`_.
  154. - SPI0/1: GPIO6-11 and GPIO16-17 are usually connected to the SPI flash and PSRAM integrated on the module and therefore should not be used for other purposes.
  155. - JTAG: GPIO12-15 are usually used for inline debug.
  156. - GPI: GPIO34-39 can only be set as input mode and do not have software-enabled pullup or pulldown functions.
  157. - TXD & RXD are usually used for flashing and debugging.
  158. - ADC2: ADC2 pins cannot be used when Wi-Fi is used. So, if you are having trouble getting the value from an ADC2 GPIO while using Wi-Fi, you may consider using an ADC1 GPIO instead, which should solve your problem. For more details, please refer to `ADC limitations <https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/adc.html#adc-limitations>`_.
  159. .. only:: esp32s2
  160. The {IDF_TARGET_NAME} chip features 43 physical GPIO pins (GPIO0 ~ GPIO21 and GPIO26 ~ GPIO46). Each pin can be used as a general-purpose I/O, or be connected to an internal peripheral signal. Through IO MUX, RTC IO MUX and the GPIO matrix, 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>`__].
  161. The table below provides more information on pin usage, and please note the comments in the table for GPIOs with restrictions.
  162. .. list-table::
  163. :header-rows: 1
  164. :widths: 8 12 12 20
  165. * - GPIO
  166. - Analog Function
  167. - RTC GPIO
  168. - Comment
  169. * - GPIO0
  170. -
  171. - RTC_GPIO0
  172. - Strapping pin
  173. * - GPIO1
  174. - ADC1_CH0
  175. - RTC_GPIO1
  176. -
  177. * - GPIO2
  178. - ADC1_CH1
  179. - RTC_GPIO2
  180. -
  181. * - GPIO3
  182. - ADC1_CH2
  183. - RTC_GPIO3
  184. -
  185. * - GPIO4
  186. - ADC1_CH3
  187. - RTC_GPIO4
  188. -
  189. * - GPIO5
  190. - ADC1_CH4
  191. - RTC_GPIO5
  192. -
  193. * - GPIO6
  194. - ADC1_CH5
  195. - RTC_GPIO6
  196. -
  197. * - GPIO7
  198. - ADC1_CH6
  199. - RTC_GPIO7
  200. -
  201. * - GPIO8
  202. - ADC1_CH7
  203. - RTC_GPIO8
  204. -
  205. * - GPIO9
  206. - ADC1_CH8
  207. - RTC_GPIO9
  208. -
  209. * - GPIO10
  210. - ADC1_CH9
  211. - RTC_GPIO10
  212. -
  213. * - GPIO11
  214. - ADC2_CH0
  215. - RTC_GPIO11
  216. -
  217. * - GPIO12
  218. - ADC2_CH1
  219. - RTC_GPIO12
  220. -
  221. * - GPIO13
  222. - ADC2_CH2
  223. - RTC_GPIO13
  224. -
  225. * - GPIO14
  226. - ADC2_CH3
  227. - RTC_GPIO14
  228. -
  229. * - GPIO15
  230. - ADC2_CH4
  231. - RTC_GPIO15
  232. -
  233. * - GPIO16
  234. - ADC2_CH5
  235. - RTC_GPIO16
  236. -
  237. * - GPIO17
  238. - ADC2_CH6
  239. - RTC_GPIO17
  240. -
  241. * - GPIO18
  242. - ADC2_CH7
  243. - RTC_GPIO18
  244. -
  245. * - GPIO19
  246. - ADC2_CH8
  247. - RTC_GPIO19
  248. -
  249. * - GPIO20
  250. - ADC2_CH9
  251. - RTC_GPIO20
  252. -
  253. * - GPIO21
  254. -
  255. - RTC_GPIO21
  256. -
  257. * - GPIO26
  258. -
  259. -
  260. - SPI0/1
  261. * - GPIO27
  262. -
  263. -
  264. - SPI0/1
  265. * - GPIO28
  266. -
  267. -
  268. - SPI0/1
  269. * - GPIO29
  270. -
  271. -
  272. - SPI0/1
  273. * - GPIO30
  274. -
  275. -
  276. - SPI0/1
  277. * - GPIO31
  278. -
  279. -
  280. - SPI0/1
  281. * - GPIO32
  282. -
  283. -
  284. - SPI0/1
  285. * - GPIO33
  286. -
  287. -
  288. -
  289. * - GPIO34
  290. -
  291. -
  292. -
  293. * - GPIO35
  294. -
  295. -
  296. -
  297. * - GPIO36
  298. -
  299. -
  300. -
  301. * - GPIO37
  302. -
  303. -
  304. -
  305. * - GPIO38
  306. -
  307. -
  308. -
  309. * - GPIO39
  310. -
  311. -
  312. - JTAG
  313. * - GPIO40
  314. -
  315. -
  316. - JTAG
  317. * - GPIO41
  318. -
  319. -
  320. - JTAG
  321. * - GPIO42
  322. -
  323. -
  324. - JTAG
  325. * - GPIO43
  326. -
  327. -
  328. -
  329. * - GPIO44
  330. -
  331. -
  332. -
  333. * - GPIO45
  334. -
  335. -
  336. - Strapping pin
  337. * - GPIO46
  338. -
  339. -
  340. - GPI;Strapping pin
  341. .. note::
  342. - Strapping pin: GPIO0, GPIO45 and GPIO46 are strapping pins. For more infomation, please refer to `ESP32-S2 datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-s2_datasheet_en.pdf>`_
  343. - SPI0/1: GPIO26-32 are usually used for SPI flash and PSRAM and not recommended for other uses.
  344. - JTAG: GPIO39-42 are usually used for inline debug.
  345. - GPI: GPIO46 is fixed to pull-down and is input only.
  346. .. only:: esp32c3
  347. The {IDF_TARGET_NAME} chip features 22 physical GPIO pins (GPIO0 ~ GPIO21). Each pin can be used as a general-purpose I/O, or 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>`__].
  348. The table below provides more information on pin usage, and please note the comments in the table for GPIOs with restrictions.
  349. .. list-table::
  350. :header-rows: 1
  351. :widths: 12 12 22
  352. * - GPIO
  353. - Analog Function
  354. - Comment
  355. * - GPIO0
  356. - ADC1_CH0
  357. - RTC
  358. * - GPIO1
  359. - ADC1_CH1
  360. - RTC
  361. * - GPIO2
  362. - ADC1_CH2
  363. - Strapping pin;RTC
  364. * - GPIO3
  365. - ADC1_CH3
  366. - RTC
  367. * - GPIO4
  368. - ADC1_CH4
  369. - RTC
  370. * - GPIO5
  371. - ADC2_CH0
  372. - RTC
  373. * - GPIO6
  374. -
  375. -
  376. * - GPIO7
  377. -
  378. -
  379. * - GPIO8
  380. -
  381. - Strapping pin
  382. * - GPIO9
  383. -
  384. - Strapping pin
  385. * - GPIO10
  386. -
  387. -
  388. * - GPIO11
  389. -
  390. -
  391. * - GPIO12
  392. -
  393. - SPI0/1
  394. * - GPIO13
  395. -
  396. - SPI0/1
  397. * - GPIO14
  398. -
  399. - SPI0/1
  400. * - GPIO15
  401. -
  402. - SPI0/1
  403. * - GPIO16
  404. -
  405. - SPI0/1
  406. * - GPIO17
  407. -
  408. - SPI0/1
  409. * - GPIO18
  410. -
  411. - USB-JTAG
  412. * - GPIO19
  413. -
  414. - USB-JTAG
  415. * - GPIO20
  416. -
  417. -
  418. * - GPIO21
  419. -
  420. -
  421. .. note::
  422. - Strapping pin: GPIO2, GPIO8 and GPIO9 are strapping pins. For more infomation, please refer to `ESP32-C3 datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-c3_datasheet_en.pdf>`_.
  423. - SPI0/1: GPIO12-17 are usually used for SPI flash and PSRAM and are not recommended for other uses.
  424. - USB-JTAG: GPIO 18 and 19 are used by USB-JTAG by default. In order to use them as GPIOs, USB-JTAG will be disabled by the drivers.
  425. - RTC: GPIO0-5 can be used when in Deep-sleep mode.
  426. .. only:: esp32s3
  427. The {IDF_TARGET_NAME} chip features 45 physical GPIO pins (GPIO0 ~ GPIO21 and GPIO26 ~ GPIO48). Each pin can be used as a general-purpose I/O, or be connected to an internal peripheral signal. Through GPIO matrix, IO MUX, and RTC IO MUX, peripheral input signals can be from any GPIO pin, and peripheral output signals can be routed to any GPIO pin. 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>`__].
  428. The table below provides more information on pin usage, and please note the comments in the table for GPIOs with restrictions.
  429. .. list-table::
  430. :header-rows: 1
  431. :widths: 8 12 12 20
  432. * - GPIO
  433. - Analog Function
  434. - RTC GPIO
  435. - Comment
  436. * - GPIO0
  437. -
  438. - RTC_GPIO0
  439. - Strapping pin
  440. * - GPIO1
  441. - ADC1_CH0
  442. - RTC_GPIO1
  443. -
  444. * - GPIO2
  445. - ADC1_CH1
  446. - RTC_GPIO2
  447. -
  448. * - GPIO3
  449. - ADC1_CH2
  450. - RTC_GPIO3
  451. - Strapping pin
  452. * - GPIO4
  453. - ADC1_CH3
  454. - RTC_GPIO4
  455. -
  456. * - GPIO5
  457. - ADC1_CH4
  458. - RTC_GPIO5
  459. -
  460. * - GPIO6
  461. - ADC1_CH5
  462. - RTC_GPIO6
  463. -
  464. * - GPIO7
  465. - ADC1_CH6
  466. - RTC_GPIO7
  467. -
  468. * - GPIO8
  469. - ADC1_CH7
  470. - RTC_GPIO8
  471. -
  472. * - GPIO9
  473. - ADC1_CH8
  474. - RTC_GPIO9
  475. -
  476. * - GPIO10
  477. - ADC1_CH9
  478. - RTC_GPIO10
  479. -
  480. * - GPIO11
  481. - ADC2_CH0
  482. - RTC_GPIO11
  483. -
  484. * - GPIO12
  485. - ADC2_CH1
  486. - RTC_GPIO12
  487. -
  488. * - GPIO13
  489. - ADC2_CH2
  490. - RTC_GPIO13
  491. -
  492. * - GPIO14
  493. - ADC2_CH3
  494. - RTC_GPIO14
  495. -
  496. * - GPIO15
  497. - ADC2_CH4
  498. - RTC_GPIO15
  499. -
  500. * - GPIO16
  501. - ADC2_CH5
  502. - RTC_GPIO16
  503. -
  504. * - GPIO17
  505. - ADC2_CH6
  506. - RTC_GPIO17
  507. -
  508. * - GPIO18
  509. - ADC2_CH7
  510. - RTC_GPIO18
  511. -
  512. * - GPIO19
  513. - ADC2_CH8
  514. - RTC_GPIO19
  515. - USB-JTAG
  516. * - GPIO20
  517. - ADC2_CH9
  518. - RTC_GPIO20
  519. - USB-JTAG
  520. * - GPIO21
  521. -
  522. - RTC_GPIO21
  523. -
  524. * - GPIO26
  525. -
  526. -
  527. - SPI0/1
  528. * - GPIO27
  529. -
  530. -
  531. - SPI0/1
  532. * - GPIO28
  533. -
  534. -
  535. - SPI0/1
  536. * - GPIO29
  537. -
  538. -
  539. - SPI0/1
  540. * - GPIO30
  541. -
  542. -
  543. - SPI0/1
  544. * - GPIO31
  545. -
  546. -
  547. - SPI0/1
  548. * - GPIO32
  549. -
  550. -
  551. - SPI0/1
  552. * - GPIO33
  553. -
  554. -
  555. - SPI0/1
  556. * - GPIO34
  557. -
  558. -
  559. - SPI0/1
  560. * - GPIO35
  561. -
  562. -
  563. - SPI0/1
  564. * - GPIO36
  565. -
  566. -
  567. - SPI0/1
  568. * - GPIO37
  569. -
  570. -
  571. - SPI0/1
  572. * - GPIO38
  573. -
  574. -
  575. -
  576. * - GPIO39
  577. -
  578. -
  579. -
  580. * - GPIO40
  581. -
  582. -
  583. -
  584. * - GPIO41
  585. -
  586. -
  587. -
  588. * - GPIO42
  589. -
  590. -
  591. -
  592. * - GPIO43
  593. -
  594. -
  595. -
  596. * - GPIO44
  597. -
  598. -
  599. -
  600. * - GPIO45
  601. -
  602. -
  603. - Strapping pin
  604. * - GPIO46
  605. -
  606. -
  607. - Strapping pin
  608. * - GPIO47
  609. -
  610. -
  611. -
  612. * - GPIO48
  613. -
  614. -
  615. -
  616. .. Note::
  617. - Strapping pin: GPIO0, GPIO3, GPIO45 and GPIO46 are strapping pins. For more infomation, please refer to `ESP32-S3 datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-s3_datasheet_en.pdf>`_.
  618. - SPI0/1: GPIO26-32 are usually used for SPI flash and PSRAM and not recommended for other uses. When using Octal Flash or Octal PSRAM or both, GPIO33~37 are connected to SPIIO4 ~ SPIIO7 and SPIDQS. Therefore, on boards embedded with ESP32-S3R8 / ESP32-S3R8V chip, GPIO33~37 are also not recommended for other uses.
  619. - USB-JTAG: GPIO 19 and 20 are used by USB-JTAG by default. In order to use them as GPIOs, USB-JTAG will be disabled by the drivers.
  620. .. only:: esp32c2
  621. The {IDF_TARGET_NAME} chip features 21 physical GPIO pins (GPIO0 ~ GPIO20). For chip variants with an SiP flash built in, GPIO11 ~ GPIO17 are dedicated to connecting the SiP flash; therefore, only 14 GPIO pins are available.
  622. 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>`__].
  623. The table below provides more information on pin usage, and please note the comments in the table for GPIOs with restrictions.
  624. .. list-table::
  625. :header-rows: 1
  626. :widths: 12 12 22
  627. * - GPIO
  628. - Analog Function
  629. - Comment
  630. * - GPIO0
  631. - ADC1_CH0
  632. - RTC
  633. * - GPIO1
  634. - ADC1_CH1
  635. - RTC
  636. * - GPIO2
  637. - ADC1_CH2
  638. - RTC
  639. * - GPIO3
  640. - ADC1_CH3
  641. - RTC
  642. * - GPIO4
  643. - ADC1_CH4
  644. - RTC
  645. * - GPIO5
  646. -
  647. - RTC
  648. * - GPIO6
  649. -
  650. -
  651. * - GPIO7
  652. -
  653. -
  654. * - GPIO8
  655. -
  656. - Strapping pin
  657. * - GPIO9
  658. -
  659. - Strapping pin
  660. * - GPIO10
  661. -
  662. -
  663. * - GPIO11
  664. -
  665. -
  666. * - GPIO12
  667. -
  668. - SPI0/1
  669. * - GPIO13
  670. -
  671. - SPI0/1
  672. * - GPIO14
  673. -
  674. - SPI0/1
  675. * - GPIO15
  676. -
  677. - SPI0/1
  678. * - GPIO16
  679. -
  680. - SPI0/1
  681. * - GPIO17
  682. -
  683. - SPI0/1
  684. * - GPIO18
  685. -
  686. -
  687. * - GPIO19
  688. -
  689. -
  690. * - GPIO20
  691. -
  692. -
  693. .. note::
  694. - Strapping pin: GPIO8 and GPIO9 are strapping pins. For more infomation, please refer to `ESP8684 datasheet <https://www.espressif.com/sites/default/files/documentation/esp8684_datasheet_en.pdf>`_.
  695. - SPI0/1: GPIO12-17 are usually used for SPI flash and not recommended for other uses.
  696. - RTC: GPIO0-5 can be used when in Deep-sleep mode.
  697. .. only:: SOC_RTCIO_INPUT_OUTPUT_SUPPORTED
  698. There is also separate "RTC GPIO" support, which functions when GPIOs are routed to the "RTC" low-power and analog subsystem. These pin functions can be used when:
  699. .. list::
  700. - In Deep-sleep mode
  701. :SOC_ULP_SUPPORTED: - The :doc:`Ultra Low Power co-processor <../../api-reference/system/ulp>` is running
  702. - Analog functions such as ADC/DAC/etc are in use.
  703. Application Example
  704. -------------------
  705. GPIO output and input interrupt example: :example:`peripherals/gpio/generic_gpio`.
  706. API Reference - Normal GPIO
  707. ---------------------------
  708. .. include-build-file:: inc/gpio.inc
  709. .. include-build-file:: inc/gpio_types.inc
  710. .. only:: SOC_RTCIO_INPUT_OUTPUT_SUPPORTED
  711. API Reference - RTC GPIO
  712. ------------------------
  713. .. include-build-file:: inc/rtc_io.inc
  714. .. include-build-file:: inc/rtc_io_types.inc