#include #include "ti_dsp.h" /* ---------------------------------------------------------------------- Reads the histogram FIFO. This routine attempts to read nw words from the histogram FIFO into the buffer pointed to by buf. The routine stops reading when the FIFO is empty, and returns the number of words actually read. ---------------------------------------------------------------------- */ int ti_hread(ti_dsp_p dsp, unsigned int *buf, int nw) { int i; for(i=0; i