#ring-buffer #iterator #iterate #overwrite #order

no-std ringbuffer-iteration

A no-std ring buffer implementation with iterator support

1 unstable release

0.1.0 Dec 13, 2021

#1427 in Embedded development

MIT license

20KB
466 lines

A ring buffer implementation where newer samples overwrite old samples. This implementation also enables the use of Rust iterators to iterate through the ring buffer in order from oldest to newest entries.

This library is implemented without the use of the standard library, and thus requires passing in a "backing store" of a statically allocated array.

Dependencies

~545KB
~10K SLoC