1.4.2.15 mchp_fir_init_q31()

void mchp_fir_init_q31 (mchp_fir_instance_q31 * S, uint16_t numTaps, const q31_t * pCoeffs, q31_t * pState, uint32_t blockSize)

Initialization function for the Q31 FIR filter.

Parameters:
in,out S

points to an instance of the Q31 FIR filter structure.

in numTaps

Number of filter coefficients in the filter.

in pCoeffs

points to the filter coefficients.

in pState

points to the state buffer.

in blockSize

number of samples that are processed at a time.