mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 20:54:24 +00:00
esp_timer: Add an option to skip unhandled events for periodic timers
- Added an option to skip unhandled events for periodic timers. Useful for light sleep. - Added doc about this case - Added Test a latency between a call of callback and real event (14-16us). and UT to check skip_unhandled_events. - Fixed for esp_timer_dump() if name of timer is NULL - Refactored timer_process_alarm() - Added the delete function after using in UTs
This commit is contained in:
@@ -5,8 +5,8 @@ import ttfw_idf
|
||||
|
||||
STARTING_TIMERS_REGEX = re.compile(r'Started timers, time since boot: (\d+) us')
|
||||
|
||||
# name, period, next_alarm, times_started, times_fired, cb_exec_time
|
||||
TIMER_DUMP_LINE_REGEX = re.compile(r'([\w-]+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)')
|
||||
# name, period, next_alarm, times_started, times_fired, times_skipped, cb_exec_time
|
||||
TIMER_DUMP_LINE_REGEX = re.compile(r'([\w-]+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)')
|
||||
|
||||
PERIODIC_TIMER_REGEX = re.compile(r'Periodic timer called, time since boot: (\d+) us')
|
||||
|
||||
|
Reference in New Issue
Block a user