Updated Mar 2025
xQueueSelectFromSetFromISR
queue.h
1 QueueSetMemberHandle_t xQueueSelectFromSetFromISR2 (3 QueueSetHandle_t xQueueSet4 );
configUSE_QUEUE_SETS must be set to 1 in FreeRTOSConfig.h for the xQueueSelectFromSetFromISR() API function to be available.
A version of xQueueSelectFromSet() that can be used from an interrupt service routine (ISR).
Parameters:
-
xQueueSet
The queue set being queried. It is not possible to block on a read as this function is designed to be used from an interrupt.
Returns:
xQueueSelectFromSetFromISR() will return the handle of a queue (cast to a QueueSetMemberHandle_t type) contained in the queue set that contains data, or the handle of a semaphore (cast to a QueueSetMemberHandle_t type) contained in the queue set that is available, or NULL if no such queue or semaphore exists.