AWS IoT for ESP32 v1.0.0
An ESP-IDF based solution
|
Ring buffer structure. More...
#include <lib_ringBuffer.h>
Data Fields | |
uint16_t | head_u16 |
uint16_t | tail_u16 |
uint16_t | maxRbElements_u16 |
uint16_t | elemetSize_u16 |
uint16_t | writeCount_u16 |
uint16_t | readCount_u16 |
uint8_t * | pBuffer_u8 |
Ring buffer structure.
uint16_t rb_st::elemetSize_u16 |
Sizef of each element
uint16_t rb_st::head_u16 |
Head pointer of ring buffer
uint16_t rb_st::maxRbElements_u16 |
Maximum elements in a ring buffer
uint8_t* rb_st::pBuffer_u8 |
Buffer
uint16_t rb_st::readCount_u16 |
Number of elements read
uint16_t rb_st::tail_u16 |
Tail pointer of ring buffer
uint16_t rb_st::writeCount_u16 |
Number of elements written to ring buffer