Developer World
Spresense SDK Library v2.0.1-3834d32
CMN_SimpleFifoHandle Struct Reference

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.
 

Detailed Description

FIFO handle which holds data required to manipulate FIFO.

Clients MUST NOT access to the internal members directly. To refer ExtInfo, use CMN_SimpleFifoGetExtInfo()

See also
CMN_SimpleFifoGetExtInfo

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