struct lgr_rb
Overview
The main ring buffer structure. More…
#include <logger_ta_internal.h> struct lgr_rb { // fields uint32_t head; uint32_t tail; uint32_t unused; uint8_t* rb; };
Detailed Documentation
The main ring buffer structure. Element of the ring buffer is multiple to the struct lgr_mess_header
Fields
uint32_t head
Head ring buffer element number
uint32_t tail
Tail ring buffer element number
uint32_t unused
Number of unused ring buffer elements
uint8_t* rb
Pointer to the ring buffer location