1.4.2.27 mchp_iir_lattice_init_q31()

void mchp_iir_lattice_init_q31 (mchp_iir_lattice_instance_q31 * S, uint16_t numStages, q31_t * pkCoeffs, q31_t * pvCoeffs, q31_t * pState, uint32_t blockSize)

Initialization function for the Q31 IIR lattice filter.

Parameters:
in S

points to an instance of the Q31 IIR lattice structure.

in numStages

number of stages in the filter.

in pkCoeffs

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

in pvCoeffs

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

in pState

points to the state buffer. The array is of length numStages+blockSize-1.

in blockSize

number of samples to process.