A chunked ringbuffer. More...
A chunked ringbuffer.
Definition at line 46 of file chunked_ringbuffer.h.
#include <chunked_ringbuffer.h>
Data Fields | |
uint8_t * | buffer |
pointer to the memory to hold the data | |
uint8_t * | buffer_end |
last data element | |
uint8_t * | cur |
current write pointer | |
uint8_t * | cur_start |
start of the currently written chunk | |
uint8_t * | protect |
start of the first valid chunk | |
uint8_t * | chunk_start [CONFIG_CHUNK_NUM_MAX] |
Array to hold start of done chunks. | |
uint16_t | chunk_len [CONFIG_CHUNK_NUM_MAX] |
Length of valid chunks. | |
uint8_t | chunk_cur |
Index of the first valid chunk. | |
uint8_t* chunk_ringbuf_t::buffer |
pointer to the memory to hold the data
Definition at line 47 of file chunked_ringbuffer.h.
uint8_t* chunk_ringbuf_t::buffer_end |
last data element
Definition at line 48 of file chunked_ringbuffer.h.
uint8_t chunk_ringbuf_t::chunk_cur |
Index of the first valid chunk.
Definition at line 54 of file chunked_ringbuffer.h.
uint16_t chunk_ringbuf_t::chunk_len[CONFIG_CHUNK_NUM_MAX] |
Length of valid chunks.
Definition at line 53 of file chunked_ringbuffer.h.
uint8_t* chunk_ringbuf_t::chunk_start[CONFIG_CHUNK_NUM_MAX] |
Array to hold start of done chunks.
Definition at line 52 of file chunked_ringbuffer.h.
uint8_t* chunk_ringbuf_t::cur |
current write pointer
Definition at line 49 of file chunked_ringbuffer.h.
uint8_t* chunk_ringbuf_t::cur_start |
start of the currently written chunk
Definition at line 50 of file chunked_ringbuffer.h.
uint8_t* chunk_ringbuf_t::protect |
start of the first valid chunk
Definition at line 51 of file chunked_ringbuffer.h.