1 unstable release
0.0.1 | May 23, 2021 |
---|
#493 in #buffer
9KB
102 lines
pingpong
A ping-pong buffer implementation for embedded Rust applications
description
Ping-pong or double buffering is a mechanism for allowing a data stream to be written to one buffer whilst data is read from the other in a fashion that the read and write operations do not collide. This library is a simple implementation of this idea and is a work in progress. I am currently using it for buffering data streams originating from SDMMC controllers on embedded platforms, but it could be used for other things.
lib.rs
:
pingpong
A pingpong or double buffer for embedded and no_std applications