esp_timer: Timers with skip_unhandled_events option won't wake up system from light sleep

This commit is contained in:
KonstantinKondrashov
2021-04-19 20:48:16 +08:00
committed by bot
parent cdad1eaa9c
commit f9ad16bb66
7 changed files with 72 additions and 1 deletions

View File

@@ -195,6 +195,13 @@ int64_t esp_timer_get_time(void);
*/
int64_t esp_timer_get_next_alarm(void);
/**
* @brief Get the timestamp when the next timeout is expected to occur skipping those which have skip_unhandled_events flag
* @return Timestamp of the nearest timer event, in microseconds.
* The timebase is the same as for the values returned by esp_timer_get_time.
*/
int64_t esp_timer_get_next_alarm_for_wake_up(void);
/**
* @brief Dump the list of timers to a stream
*