Quality RTOS & Embedded Software

  Real time embedded FreeRTOS RSS feed  

xQueueSelectFromSetFromISR()
[Queue Set API]

queue.h
 QueueSetMemberHandle_t xQueueSelectFromSetFromISR
                       (
                             QueueSetHandle_t xQueueSet
                        );

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.




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.