FIFO handle which holds data required to manipulate FIFO. More...
#include <CMN_SimpleFifo.h>
Public Attributes | |
uint8_t * | m_pBuf |
Internal ring buffer. | |
void * | m_pExtInfo |
Info set to the fifo. CMN_SimpleFifo APIs never refer/modify it. Use CMN_SimpleFifoGetExtInfo() to refer the info. | |
size_t | m_size |
Size of the internal ring buffer. Available size if m_size - 1 because one element is used as a separator of RP and WP. | |
size_t | m_wp |
Write Pointer. Index of the m_pBuf. | |
size_t | m_rp |
Read Pointer. Index of the m_pBuf. | |
FIFO handle which holds data required to manipulate FIFO.
Clients MUST NOT access to the internal members directly. To refer ExtInfo, use CMN_SimpleFifoGetExtInfo()