|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
semphr.
semphr.
h
Macro to release a semaphore. The semaphore must have previously been created with a call to xSemaphoreCreateBinary() or xSemaphoreCreateCounting().
Mutex type semaphores (those created using a call to xSemaphoreCreateMutex()) must not be used with this macro.
This macro can be used from an ISR.
| xSemaphore | A handle to the semaphore being released. This is the handle returned when the semaphore was created. |
| pxHigherPriorityTaskWoken | xSemaphoreGiveFromISR() will set *pxHigherPriorityTaskWoken to pdTRUE if giving the semaphore caused a task to unblock, and the unblocked task has a priority higher than the currently running task. If xSemaphoreGiveFromISR() sets this value to pdTRUE then a context switch should be requested before the interrupt is exited. |
Example usage: