|
idfxx 1.0.0
Modern C++23 components for ESP-IDF
|
Power-saving sleep modes for ESP32. More...
Namespaces | |
| namespace | idfxx |
| namespace | idfxx::sleep |
Power-saving sleep modes for ESP32.
Enter light sleep — which suspends the CPU and resumes execution in place — or deep sleep, which powers down most of the chip and restarts the application on wake. Wake-up sources (timer, GPIO level, EXT0/EXT1 pins) are passed directly to the sleep call:
A lower-level interface (enable_* / disable_*) is also provided for arming wake-up sources persistently across multiple sleeps.
Depends on Core Utilities for error handling and GPIO Component for pin types.