From: ppisa Date: Sun, 17 May 2009 09:33:49 +0000 (+0000) Subject: Data queue FIFO included in uLUt. X-Git-Tag: ul_drv-0.8.0-release~21 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/ulut.git/commitdiff_plain/1257f53b5fcbdf43fad02136c38b8207829586ac 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. --- diff --git a/ulut/Makefile.omk b/ulut/Makefile.omk index 6ac157e..6b97220 100644 --- a/ulut/Makefile.omk +++ b/ulut/Makefile.omk @@ -11,7 +11,7 @@ include_HEADERS = ul_dbuff.h ul_evcbase.h ul_gavl.h ul_gavlcust.h \ ul_hptree.h ul_htimdefs.h ul_htimer.h ul_itbase.h \ ul_list.h ul_listbase.h ul_utdefs.h ul_utmalloc.h \ ul_uniqid.h ul_dbufflog.h ul_log.h ul_logbase.h \ - ul_logreg.h ul_cbuff.h + ul_logreg.h ul_cbuff.h ul_dqfifo.h lib_LIBRARIES = ulut