LUFA Library  120219

Ring Buffer Management Structure. More...

#include <RingBuffer.h>

Data Fields

uint8_t * In
uint8_t * Out
uint8_t * Start
uint8_t * End
uint16_t Size
uint16_t Count

Detailed Description

Type define for a new ring buffer object. Buffers should be initialized via a call to RingBuffer_InitBuffer() before use.


Field Documentation

Number of bytes currently stored in the buffer.

Pointer to the end of the buffer's underlying storage array.

uint8_t* RingBuffer_t::In

Current storage location in the circular buffer.

Current retrieval location in the circular buffer.

Size of the buffer's underlying storage array.

Pointer to the start of the buffer's underlying storage array.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines