esp32/modesp32: Add wake_on_ulp() so ULP can wake CPU from deepsleep.
Add esp32.wake_on_ulp() to give access to esp_sleep_enable_ulp_wakeup(), which is needed to allow the ULP co-processor to wake the main CPU from deep sleep.
This commit is contained in:
committed by
Damien George
parent
cf550ad9d1
commit
ba21f76f89
@@ -34,6 +34,7 @@ typedef struct {
|
||||
uint64_t ext1_pins; // set bit == pin#
|
||||
int8_t ext0_pin; // just the pin#, -1 == None
|
||||
bool wake_on_touch : 1;
|
||||
bool wake_on_ulp : 1;
|
||||
bool ext0_level : 1;
|
||||
wake_type_t ext0_wake_types;
|
||||
bool ext1_level : 1;
|
||||
|
||||
Reference in New Issue
Block a user