1.4.2.1 mchp_biquad_cascade_df1_init_q31()

void mchp_biquad_cascade_df1_init_q31 (mchp_biquad_cascade_df1_instance_q31 * S, uint8_t numStages, const q31_t * pCoeffs, q31_t * pState, int8_t postShift)

Initialization function for the Q31 direct form I Biquad cascade filter.

Parameters:
in,out S

points to an instance of the filter data structure.

in numStages

number of 2nd order stages in the filter.

in pCoeffs

points to the filter coefficients.

in pState

points to the state buffer.

in postShift

bit shift applied to output of each stage.