sleep: allow disabling all wakeup sources

This commit is contained in:
Ivan Grokhotkov
2018-08-14 03:43:35 +03:00
parent 75629b7fc3
commit cf4f2c19e4
2 changed files with 4 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ typedef enum {
*/
typedef enum {
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