Search found 1 match

by pauldotknopf
Mon Dec 25, 2023 9:33 am
Forum: ESP-IDF
Topic: Safe to use "timer_ll_clear_intr_status" from non-ISR method?
Replies: 0
Views: 3216

Safe to use "timer_ll_clear_intr_status" from non-ISR method?

Long story short, I'm monitoring a signal from a GPIO pin, and using it to keep a running timer (TIMER_GROUP_0, TIMER_0) in sync. From my main loop, I'm using "portDISABLE_INTERRUPTS|portENABLE_INTERRUPTS" where I need to measure sensitive timings, and based on those results, I set new alarm/counter...