Bottom Halves on FreeRTOS?

I have heard about deferred interrupts in FreeRTOS, but as per my understanding, the task to which the ISR switches in order to do the necessary work runs in the task/process context. Is there a scheme similar such as tasklets or softirq where in the deferred work runs in Interrupt context rather than process context ?


ISR routine and deferred interrupt Handler task in Free RTOS works similar to Top half and Bottom half(Tasklets) in linux. They are often used to process frequent interrupt requests when ISR need to perform lengthy operations. In freeRTOS, to defer the processing of a function to the RTOS daemon task use vPendableFunction or xTimerPendFunctionCallFromISR(). This is similar to implementing bottom half(Tasklets) in linux. For more info click here

链接地址: http://www.djcxy.com/p/84806.html

上一篇: 任务计划程序

下一篇: FreeRTOS的底部减半?