Crate pingpong[][src]

Expand description


A pingpong or double buffer for embedded and no_std applications



Pingpong or double buffering is useful for performing buffering tasks that require similtaneous reading and writing. While one buffer is being written to, the other can be read from and visa versa. In this implementation, the buffer that is being written to is known as the “active” buffer and the buffer being read from is the “reserve” buffer