Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Updated Mar 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.