Espressif ESP32-S2 Programming Manual page 1057

Table of Contents

Advertisement

Chapter 2. API Reference
ESP_PD_DOMAIN_RTC8M
Internal 8M oscillator.
ESP_PD_DOMAIN_VDDSDIO
VDD_SDIO.
ESP_PD_DOMAIN_MAX
Number of domains.
enum esp_sleep_pd_option_t
Power down options.
Values:
ESP_PD_OPTION_OFF
Power down the power domain in sleep mode.
ESP_PD_OPTION_ON
Keep power domain enabled during sleep mode.
ESP_PD_OPTION_AUTO
Keep power domain enabled in sleep mode, if it is needed by one of the wakeup options. Otherwise
power it down.
enum esp_sleep_source_t
Sleep wakeup cause.
Values:
ESP_SLEEP_WAKEUP_UNDEFINED
In case of deep sleep, reset was not caused by exit from deep sleep.
ESP_SLEEP_WAKEUP_ALL
Not a wakeup cause, used to disable all wakeup sources with esp_sleep_disable_wakeup_source.
ESP_SLEEP_WAKEUP_EXT0
Wakeup caused by external signal using RTC_IO.
ESP_SLEEP_WAKEUP_EXT1
Wakeup caused by external signal using RTC_CNTL.
ESP_SLEEP_WAKEUP_TIMER
Wakeup caused by timer.
ESP_SLEEP_WAKEUP_TOUCHPAD
Wakeup caused by touchpad.
ESP_SLEEP_WAKEUP_ULP
Wakeup caused by ULP program.
ESP_SLEEP_WAKEUP_GPIO
Wakeup caused by GPIO (light sleep only)
ESP_SLEEP_WAKEUP_UART
Wakeup caused by UART (light sleep only)
ESP_SLEEP_WAKEUP_WIFI
Wakeup caused by WIFI (light sleep only)
ESP_SLEEP_WAKEUP_COCPU
Wakeup caused by COCPU int.
ESP_SLEEP_WAKEUP_COCPU_TRAP_TRIG
Wakeup caused by COCPU crash.
ESP_SLEEP_WAKEUP_BT
Wakeup caused by BT (light sleep only)
Espressif Systems
1046
Submit Document Feedback
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Table of Contents

Save PDF