Updated Apr 2025

xQueueSelectFromSetFromISR

[Queue Set API]

queue.h

1 QueueSetMemberHandle_t xQueueSelectFromSetFromISR
2 (
3 QueueSetHandle_t xQueueSet
4 );

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.