Activate nested interrupts
Posted: Sat Mar 17, 2018 11:14 pm
by MajinFoo
Hello,
i heard the esp32 supports nested interrupts. If so, how can it be activated?
Re: Activate nested interrupts
Posted: Sun Mar 18, 2018 2:02 am
by ESP_Sprite
The Xtensa does support this using interrupt levels; in theory, an interrupt of level 2 can interrupt one of level 1. I'm not sure if our FreeRTOS implementation also honours this, however. In general, with an RTOS, it's preferable to keep your interrupts short and sweet anyway and do most of the processing in a thread; that way you usually don't need nestedinterrupts anyway.