1.4.2.34 mchp_lms_norm_init_q31()

void mchp_lms_norm_init_q31 (mchp_lms_norm_instance_q31 * S, uint16_t numTaps, q31_t * pCoeffs, q31_t * pState, q31_t mu, uint32_t blockSize, uint8_t postShift)

Initialization function for Q31 normalized 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 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.