FileFIFO library for a generic FIFO

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
Senior User
Posts: 378
Joined: Mon 2016-05-30 11:54
Location: Finland

FileFIFO library for a generic FIFO

Post by Hannu »

Dear VS1010 users,

I got tired of rewriting FIFO on every time I needed one and wrote a generic implementation. This one uses FILE pointer and has all the features I have wanted so far.
  • Byte addressed
  • Blocking and non-blocking I/O
  • Tail eating overwrite
  • Simple FILE pointer interface
  • Flexible buffer memory management
  • Reasonable memory consumption (buffers not included): Total words: I 790, X 157, Y 0
Documentation and source code solution are attached to this message.

Have fun with this, report bugs and ask questions
Documentation for FileFIFO library
(16.43 KiB) Downloaded 7 times
FileFIFO solution
(47.53 KiB) Downloaded 7 times
Post Reply