dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
circ_queue Struct Reference

Data Fields

uint16_t elem_size
 
uint16_t num_elem
 
volatile uint16_t write_head
 
volatile uint16_t read_tail
 
uint32_t contents []
 

Detailed Description

Definition at line 28 of file circqueue.c.

Field Documentation

uint32_t circ_queue::contents[]

Contents of the circular queue

Definition at line 39 of file circqueue.c.

uint16_t circ_queue::elem_size

Element size in octets

Definition at line 29 of file circqueue.c.

uint16_t circ_queue::num_elem

Number of elements in circqueue (capacity+1)

Definition at line 30 of file circqueue.c.

volatile uint16_t circ_queue::read_tail

Element position reader is at

Definition at line 32 of file circqueue.c.

volatile uint16_t circ_queue::write_head

Element position writer is at

Definition at line 31 of file circqueue.c.


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