Loading...
Searching...
No Matches
chunk_ringbuf_t Struct Reference

A chunked ringbuffer. More...

Detailed Description

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.
 

Field Documentation

◆ buffer

uint8_t* chunk_ringbuf_t::buffer

pointer to the memory to hold the data

Definition at line 47 of file chunked_ringbuffer.h.

◆ buffer_end

uint8_t* chunk_ringbuf_t::buffer_end

last data element

Definition at line 48 of file chunked_ringbuffer.h.

◆ chunk_cur

uint8_t chunk_ringbuf_t::chunk_cur

Index of the first valid chunk.

Definition at line 54 of file chunked_ringbuffer.h.

◆ chunk_len

uint16_t chunk_ringbuf_t::chunk_len[CONFIG_CHUNK_NUM_MAX]

Length of valid chunks.

Definition at line 53 of file chunked_ringbuffer.h.

◆ chunk_start

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.

◆ cur

uint8_t* chunk_ringbuf_t::cur

current write pointer

Definition at line 49 of file chunked_ringbuffer.h.

◆ cur_start

uint8_t* chunk_ringbuf_t::cur_start

start of the currently written chunk

Definition at line 50 of file chunked_ringbuffer.h.

◆ protect

uint8_t* chunk_ringbuf_t::protect

start of the first valid chunk

Definition at line 51 of file chunked_ringbuffer.h.


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