1.4.2.22 mchp_fir_lattice_init_q31()

void mchp_fir_lattice_init_q31 (mchp_fir_lattice_instance_q31 * S, uint16_t numStages, const q31_t * pCoeffs, q31_t * pState)

Initialization function for the Q31 FIR lattice filter.

Parameters:
in S

points to an instance of the Q31 FIR lattice structure.

in numStages

number of filter stages.

in pCoeffs

points to the coefficient buffer. The array is of length numStages.

in pState

points to the state buffer. The array is of length numStages.