firmware
IEM Firmware Documentation
Loading...
Searching...
No Matches
QueueDefinition Struct Reference
Collaboration diagram for QueueDefinition:

Data Fields

int8_t * pcHead
int8_t * pcWriteTo
union { 
   QueuePointers_t   xQueue 
   SemaphoreData_t   xSemaphore 
u
List_t xTasksWaitingToSend
List_t xTasksWaitingToReceive
volatile UBaseType_t uxMessagesWaiting
UBaseType_t uxLength
UBaseType_t uxItemSize
volatile int8_t cRxLock
volatile int8_t cTxLock

Field Documentation

◆ cRxLock

volatile int8_t QueueDefinition::cRxLock

Stores the number of items received from the queue (removed from the queue) while the queue was locked. Set to queueUNLOCKED when the queue is not locked.

◆ cTxLock

volatile int8_t QueueDefinition::cTxLock

Stores the number of items transmitted to the queue (added to the queue) while the queue was locked. Set to queueUNLOCKED when the queue is not locked.

◆ pcHead

int8_t* QueueDefinition::pcHead

Points to the beginning of the queue storage area.

◆ pcWriteTo

int8_t* QueueDefinition::pcWriteTo

Points to the free next place in the storage area.

◆ [union]

union { ... } QueueDefinition::u

◆ uxItemSize

UBaseType_t QueueDefinition::uxItemSize

The size of each items that the queue will hold.

◆ uxLength

UBaseType_t QueueDefinition::uxLength

The length of the queue defined as the number of items it will hold, not the number of bytes.

◆ uxMessagesWaiting

volatile UBaseType_t QueueDefinition::uxMessagesWaiting

The number of items currently in the queue.

◆ xQueue

QueuePointers_t QueueDefinition::xQueue

Data required exclusively when this structure is used as a queue.

◆ xSemaphore

SemaphoreData_t QueueDefinition::xSemaphore

Data required exclusively when this structure is used as a semaphore.

◆ xTasksWaitingToReceive

List_t QueueDefinition::xTasksWaitingToReceive

List of tasks that are blocked waiting to read from this queue. Stored in priority order.

◆ xTasksWaitingToSend

List_t QueueDefinition::xTasksWaitingToSend

List of tasks that are blocked waiting to post onto this queue. Stored in priority order.


The documentation for this struct was generated from the following file: