Merge branch 'doc-fix_sleep_mode_doc_v5.2' into 'release/v5.2'

docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support (v5.2)

See merge request espressif/esp-idf!49112
This commit is contained in:
Jiang Jiang Jian
2026-06-05 10:50:11 +08:00
6 changed files with 178 additions and 46 deletions
@@ -447,8 +447,8 @@ esp_err_t esp_deep_sleep_enable_gpio_wakeup(uint64_t gpio_pin_mask, esp_deepslee
* @brief Enable wakeup from light sleep using GPIOs
*
* Each GPIO supports wakeup function, which can be triggered on either low level
* or high level. Unlike EXT0 and EXT1 wakeup sources, this method can be used
* both for all IOs: RTC IOs and digital IOs. It can only be used to wakeup from
* or high level. This method can be used with any IO (RTC or digital), whereas
* external RTC wakeup is limited to RTC GPIOs. It can only be used to wakeup from
* light sleep though.
*
* To enable wakeup, first call gpio_wakeup_enable, specifying gpio number and