I am developing a software on a Cortex-M0.
Each task of the system usualy wait on their notification value.
When a hardware interrupt occures, I send a message to a message buffer through xMessageBufferSendFromISR and then wake the task using xTaskNotifyFromISR.
As I am calling two FromISR functions I am not really sure how to handle their pxHigherPriorityTaskWoken parameters.
Should I initialize it to pdFALSE, call xMessageBufferSendFromISR, portYIELD and then initialize it again, call xTaskNotifyFromISR and portYIELD ? or just initialize it once and call portYIELD each time ? or event call portYIELD only at the end ?