|
|
|
@ -399,10 +399,10 @@ BaseType_t xHigherPriorityTaskWoken = pdFALSE; // Initialised to pdFALSE.
|
|
|
|
|
// priority of the currently executing task was unblocked and a context
|
|
|
|
|
// switch should be performed to ensure the ISR returns to the unblocked
|
|
|
|
|
// task. In most FreeRTOS ports this is done by simply passing
|
|
|
|
|
// xHigherPriorityTaskWoken into taskYIELD_FROM_ISR(), which will test the
|
|
|
|
|
// xHigherPriorityTaskWoken into portYIELD_FROM_ISR(), which will test the
|
|
|
|
|
// variables value, and perform the context switch if necessary. Check the
|
|
|
|
|
// documentation for the port in use for port specific instructions.
|
|
|
|
|
taskYIELD_FROM_ISR( xHigherPriorityTaskWoken );
|
|
|
|
|
portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
|
|
|
|
|
}
|
|
|
|
|
</pre>
|
|
|
|
|
* \defgroup xMessageBufferSendFromISR xMessageBufferSendFromISR
|
|
|
|
@ -588,10 +588,10 @@ BaseType_t xHigherPriorityTaskWoken = pdFALSE; // Initialised to pdFALSE.
|
|
|
|
|
// priority of the currently executing task was unblocked and a context
|
|
|
|
|
// switch should be performed to ensure the ISR returns to the unblocked
|
|
|
|
|
// task. In most FreeRTOS ports this is done by simply passing
|
|
|
|
|
// xHigherPriorityTaskWoken into taskYIELD_FROM_ISR(), which will test the
|
|
|
|
|
// xHigherPriorityTaskWoken into portYIELD_FROM_ISR(), which will test the
|
|
|
|
|
// variables value, and perform the context switch if necessary. Check the
|
|
|
|
|
// documentation for the port in use for port specific instructions.
|
|
|
|
|
taskYIELD_FROM_ISR( xHigherPriorityTaskWoken );
|
|
|
|
|
portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
|
|
|
|
|
}
|
|
|
|
|
</pre>
|
|
|
|
|
* \defgroup xMessageBufferReceiveFromISR xMessageBufferReceiveFromISR
|
|
|
|
|