idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
idfxx::sleep::ext0_wake Struct Reference

Wakes the chip when a single RTC-capable pin is at a level (EXT0). More...

Public Attributes

idfxx::gpio pin
 The pin to wake on; must be RTC-capable.
 
idfxx::gpio::level level
 The level that triggers the wake.
 

Detailed Description

Wakes the chip when a single RTC-capable pin is at a level (EXT0).

Works in both light and deep sleep; the RTC peripherals are kept powered while sleeping. Reported as wakeup_source::ext0.

Note
Only available on chips with EXT0 wake-up support (SOC_PM_SUPPORT_EXT0_WAKEUP).

Definition at line 122 of file sleep.hpp.

Member Data Documentation

◆ level

idfxx::gpio::level idfxx::sleep::ext0_wake::level

The level that triggers the wake.

Definition at line 124 of file sleep.hpp.

◆ pin

idfxx::gpio idfxx::sleep::ext0_wake::pin

The pin to wake on; must be RTC-capable.

Definition at line 123 of file sleep.hpp.


The documentation for this struct was generated from the following file: