xTimer...FromISR functions availability - FreeRTOS
Posted: Fri Apr 24, 2020 8:33 pm
Hi, there's a group of xTimer... functions defined in FreeRTOS that can be called from an ISR:
xTimerStartFromISR
xTimerPendFunctionCallFromISR
but it appears they're not included in ESP-IDF version of FreeRTOS. Not included at all, or can be enabled by some configuration settings?
The reason for asking this question: i need something like a deferred function call (DPC) that is initiated from an ISR and performed after ISRs are done. And if possible then with some little time delay, for example 2ms after the ISR. This would be used for debouncing switch or encoder inputs. Dont want to use hardware timer - these should be saved for more important stuff.
PS it appears that xTimerPendFunctionCall() is not available too?
xTimerStartFromISR
xTimerPendFunctionCallFromISR
but it appears they're not included in ESP-IDF version of FreeRTOS. Not included at all, or can be enabled by some configuration settings?
The reason for asking this question: i need something like a deferred function call (DPC) that is initiated from an ISR and performed after ISRs are done. And if possible then with some little time delay, for example 2ms after the ISR. This would be used for debouncing switch or encoder inputs. Dont want to use hardware timer - these should be saved for more important stuff.
PS it appears that xTimerPendFunctionCall() is not available too?