Ring buffer object definition. More...
#include <tr_ring_buffer.h>
Data Fields | |
uint8_t * | p_buffer |
Address of the array allocated to the ring buffer. | |
size_t | head |
Head of the ring buffer. | |
size_t | tail |
Tail of the ring buffer. | |
size_t | buffer_size |
Size of the array pointed to by p_buffer. | |
size_t | count |
Current number of items in the ring buffer. | |
Ring buffer object definition.
size_t tr_ring_buffer_t::buffer_size |
Size of the array pointed to by p_buffer.
size_t tr_ring_buffer_t::count |
Current number of items in the ring buffer.
size_t tr_ring_buffer_t::head |
Head of the ring buffer.
uint8_t* tr_ring_buffer_t::p_buffer |
Address of the array allocated to the ring buffer.
size_t tr_ring_buffer_t::tail |
Tail of the ring buffer.