ext0 和 ext1 唤醒 不能同时生效吗?
Posted: Sat Feb 22, 2020 8:19 am
Code: Select all
[Codebox=c file=Untitled.c]
#define WAKE_UP_GPIO_25_MASK 0x2000000
esp_sleep_enable_ext0_wakeup(35,1) // wake up when USB connected ,gpio 35 is high
esp_sleep_enable_ext1_wakeup(WAKE_UP_GPIO_25_MASK,ESP_EXT1_WAKEUP_ALL_LOW ) //
[/Codebox]
是不能同时使用这两个唤醒吗?还是需要什么特别的设置呢?