Microchip® Advanced Software Framework

ringbuf Struct Reference

Structure that holds the state of a ring buffer.

This structure holds the state of a ring buffer. The actual buffer needs to be defined separately. This struct is an opaque structure with no user-visible elements.

#include <ringbuf.h>

Data Fields

uint8_t * data
 
uint8_t get_ptr
 
uint8_t mask
 
uint8_t put_ptr