Netcruzer Library API  V2.03
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
nz_circularBufferPwr2.h File Reference

Circular Buffer, with configurable buffer size. Size must be power of 2! More...

Go to the source code of this file.

Detailed Description

Circular Buffer, with configurable buffer size. Size must be power of 2!

Author
Modtronix Engineering
Compiler:
MPLAB XC16 compiler

Description

This module contains the implementation for a Circular Buffer, as defined in the nz_circularBuffer.h interface. For this implementation, the size of all buffers must be a power of 2 value, for example 8, 16, 32, 64, 128... This condition enables faster and smaller code than for a variable size circular buffer.