1.4.2.31 mchp_lms_init_q31()

void mchp_lms_init_q31 (mchp_lms_instance_q31 * S, uint16_t numTaps, q31_t * pCoeffs, q31_t * pState, q31_t mu, uint32_t blockSize, uint32_t postShift)

Initialization function for Q31 LMS filter.

Parameters:
in S

points to an instance of the Q31 LMS filter structure.

in numTaps

number of filter coefficients.

in pCoeffs

points to the coefficient buffer.

in pState

points to state buffer.

in mu

step size that controls filter coefficient updates.

in blockSize

number of samples to process.

in postShift

bit shift applied to coefficients.