pingpong

Crates.iopingpong
lib.rspingpong
version0.0.1
sourcesrc
created_at2021-05-23 13:42:40.365978
updated_at2021-05-23 13:42:40.365978
descriptionA pingpong double buffer for embedded and no_std applications
homepage
repositoryhttps://github.com/ostenning/pingpong
max_upload_size
id401111
size9,412
Oliver (ost-ing)

documentation

README

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.

Commit count: 6

cargo fmt