Developer World
Spresense SDK Library v3.2.0-ebc0364
CMN_SimpleFifoPeekHandle Struct Reference

Data handle used for CMN_SimpleFifoPeek(). More...

#include <CMN_SimpleFifo.h>

Public Attributes

uint8_t * m_pChunk [2]
 Address to the region.
 
size_t m_szChunk [2]
 Data Size of the region.
 

Detailed Description

Data handle used for CMN_SimpleFifoPeek().

Data retrieved with any variations of peek API may be splited in to 2 pieces because of data allocation in the FIFO internal buffer. Index 0 indicates the first piece and 1 is the second piece if any.

Use CMN_SimpleFifoCopyFromPeekHandle() or CMN_SimpleFifoCopyFromPeekHandleWithSpecificCopier() to copy data from a peek handle.

See also
CMN_SimpleFifoCopyFromPeekHandle
CMN_SimpleFifoCopyFromPeekHandleWithSpecificCopier

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