See http://dspguru.com/info/faqs/fir/basics.htm
\
|
Defines a new filter variable
Example: #define myAverageLog2Size 3 FIR_FILTER_DEFINE(myAverage,myAverageLog2Size); FIR_Filter_Init(&myAverage.filter,myAverageLog2Size); |
|
Size (number of taps) of a FIR filter.
|
|
Sample.
|
|
Coefficient.
|
|
Accumlated sum to avoid overrun this must be able to hold.
|
|
Inits a FIR filter structure
|
|
Inputs a sample to the filter using a BOXCAR coefficient table (all ones) |
|
Returns the normalized sum of the filter. (Sum / taps * max_cooeffcient) |