Overview of LwRB Ring Buffer
masterLwRB is a generic FIFO (First In; First Out) buffer library specifically optimized for embedded systems. It is designed to be lightweight and efficient for resource-constrained environments.
Key Characteristics:
- Memory Model: Uses a static array with no dynamic memory allocation.
- Portability: Written in ANSI C99 and is platform-independent (no architecture-specific code).
- Safety: Thread-safe and interrupt-safe when used as a pipe with a single writer and a single reader.
- Performance: Uses optimized memory copies instead of loops and supports zero-copy DMA transfers.
- Capabilities: Supports data peeking, skipping reads, advancing writes, and event notifications.