AM261x MCU+ SDK  11.00.00
dwc_queue_t Struct Reference

Detailed Description

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
 

Field Documentation

◆ buffer

uint32_t dwc_queue_t::buffer[DWC_QUEUE_SIZE]

An array of size DWC_QUEUE_SIZE used to store the queue's data.

◆ front

uint16_t dwc_queue_t::front

The index of the front element in the queue.

◆ rear

uint16_t dwc_queue_t::rear

The index of the rear element in the queue.