I recently added code that needs to acquire a semaphore (I suppose I could ignore it for what I want to do…) on a tick hook timer. Since calling
resets my dsPIC33, I am guessing that I need to use
xSemaphoreTakeFromISR( xSemaphore, pxHigherPriorityTaskWoken )
Is this true?
If so, and if pxHigherPriorityTaskWoken is true, do I really want to make the jump from the tick hook?
The end goal is to monitor data aging of MODBUS registers on the tick timer and to reset them to uninitialized if the app does not refresh them periodically.