FreeRTOS - Interrupt Management
Given the following FreeRTOS ISR code snippet, what will be the value of xHigherPriorityTaskWoken after execution?
void ISR_Timer(void) {
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
xSemaphoreGiveFromISR(xSemaphore, &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
}Assume the semaphore unblocks a higher priority task waiting.
