]> rtime.felk.cvut.cz Git - ulut.git/commit
Data queue FIFO included in uLUt.
authorppisa <ppisa>
Sun, 17 May 2009 09:33:49 +0000 (09:33 +0000)
committerppisa <ppisa>
Sun, 17 May 2009 09:33:49 +0000 (09:33 +0000)
commit1257f53b5fcbdf43fad02136c38b8207829586ac
tree5f6208c88bafb33b097322f357b51915090ace77
parent5cd8f1bcc5fbfeaa3437126848f1693f9bbe8bd9
Data queue FIFO included in uLUt.

The FIFO support functions and type for custom element
can be declared by UL_DQFIFO_CUST_DEC. The static
instances can be declared by UL_DQFIFO_STATIC_INSTANCE.
The FIFO size has to be power of two, because sequential
numbers are masked when index into buffer is computed.

Queue allows to iterate over last N elements in addition
to usual put and get operations which is significant
for FIR filters implementation.
ulut/Makefile.omk