 |
AM261x MCU+ SDK
11.00.00
|
|
Go to the documentation of this file.
39 #ifndef _DWC_QUEUE_NORTOS_H_
40 #define _DWC_QUEUE_NORTOS_H_
50 #define DWC_QUEUE_SIZE (8U)
void dwc_queueInit(dwc_queue_t *queue)
This routine initializes the queue.
Definition: dwc_queue.c:51
uint16_t rear
Definition: dwc_queue.h:60
bool dwc_queueGet(dwc_queue_t *queue, uint32_t *data)
This routine retrieves an elements from the queue.
Definition: dwc_queue.c:92
#define DWC_QUEUE_SIZE
Definition: dwc_queue.h:50
uint16_t front
Definition: dwc_queue.h:59
bool dwc_queuePut(dwc_queue_t *queue, uint32_t data)
This routine adds an element to the queue.
Definition: dwc_queue.c:66
A structure representing a queue for managing data.
Definition: dwc_queue.h:57