Hi all,
i am using the Hardware-Timer of an esp32 via the general purpose timer driver (https://docs.espressif.com/projects/esp ... timer.html) and configure them to raise alarm / interrupts. That is no problem.
Unfortunately the driver doesn't give the option to set the alarm (interrupt) priority of the interrupts as i know it from other mikrocontrollers.
Does someone know how to configure that?
I also worked myself through the technical reference manual (https://www.espressif.com/sites/default ... ual_en.pdf) but couldn't find anything about interrupt priorities for the hw-timer.
Thanks in advance, cheers,
Gabriel
Interrupt Priority of General Purpose Timer
-
- Posts: 4
- Joined: Thu Jul 20, 2023 7:16 am
Re: Interrupt Priority of General Purpose Timer
Hi Gabriel, looks like this functionality was available in the older version of the driver (via interrupt allocation flags): ESP_INTR_FLAG_LEVEL1, ESP_INTR_FLAG_LEVEL2, etc.
However the new version of the driver introduced in IDF v5.0 doesn't have a configuration option to specify interrupt priority level. I'll ask the authors of the new driver if this feature can be added there as well!
However the new version of the driver introduced in IDF v5.0 doesn't have a configuration option to specify interrupt priority level. I'll ask the authors of the new driver if this feature can be added there as well!
Who is online
Users browsing this forum: Gaston1980 and 123 guests