#include <fifo.h>
Data Fields | |
| uint32_t | max_size |
| uint32_t | current_size |
| uint8_t * | buffer |
| uint8_t * | write_ptr |
| uint8_t * | read_ptr |
| uint8_t * | end_ptr |
A FIFO instance is defined by this structure.
| uint8_t* fifo::buffer |
The data buffer
| uint32_t fifo::current_size |
The current size of the fifo
| uint8_t* fifo::end_ptr |
A pointer to the byte just beyond the fifo's buffer
| uint32_t fifo::max_size |
The maximum size of the fifo
| uint8_t* fifo::read_ptr |
The read pointer
| uint8_t* fifo::write_ptr |
The write pointer
1.4.7