Skip to content

Group xQueueReceiveFromISR

Modules > xQueueReceiveFromISR

More...

Detailed Description

queue. h

Receive an item from a queue. It is safe to use this function from within an interrupt service routine.

Parameters:

  • xQueue The handle to the queue from which the item is to be received.
  • pvBuffer Pointer to the buffer into which the received item will be copied.
  • pxTaskWoken A task may be blocked waiting for space to become available on the queue. If xQueueReceiveFromISR causes such a task to unblock *pxTaskWoken will get set to pdTRUE, otherwise *pxTaskWoken will remain unchanged.

Returns:

pdTRUE if an item was successfully received from the queue, otherwise pdFALSE.

Example usage: