A structure representing a queue for managing data.
This structure is used to implement a queue with a fixed-size buffer.
Data Fields | |
| uint32_t | buffer [DWC_QUEUE_SIZE] |
| uint16_t | front |
| uint16_t | rear |
| uint32_t dwc_queue_t::buffer[DWC_QUEUE_SIZE] |
An array of size DWC_QUEUE_SIZE used to store the queue's data.
| uint16_t dwc_queue_t::front |
The index of the front element in the queue.
| uint16_t dwc_queue_t::rear |
The index of the rear element in the queue.