Mutexes and esp_timer
Posted: Fri Dec 22, 2017 8:53 am
I want to use `esp_timer` with low delay (150us and below) with mutexes. What is the best way to do it?
My current ideas:
What about already listed ideas, or is thre better one?
P.s.: I have noticed about calling directly from timer's ISR, is it possible?
My current ideas:
- Start new task each time and wait for mutex within. What about performance?
- Start separated task and queue timer notification to it. What about performance, again?
- Just check and skip tick if mutex is busy. Worst, but OK solution.
What about already listed ideas, or is thre better one?
P.s.: I have noticed about calling directly from timer's ISR, is it possible?