A version of xQueuePeek() that can be used from an
interrupt service routine (ISR).
Receive an item from a queue without removing the item from the queue.
The item is received by copy so a buffer of adequate size must be
provided. The number of bytes copied into the buffer was defined when
the queue was created.
Successfully received items remain on the queue so will be returned again
by the next call, or a call to any queue receive function.
The handle to the queue from which the item is to be received.
Pointer to the buffer into which the received item will be
copied. This must be at least large enough to hold the size
of the queue item defined when the queue was created.
pdTRUE if an item was successfully received (peeked) from the queue,
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.