CMSIS-DSP  
CMSIS DSP Software Library
arm_lms_norm_instance_q15 Struct Reference

Instance structure for the Q15 normalized LMS filter.

Data Fields

uint16_t numTaps
 
q15_tpState
 
q15_tpCoeffs
 
q15_t mu
 
uint8_t postShift
 
const q15_trecipTable
 
q15_t energy
 
q15_t x0
 

Field Documentation

◆ energy

q15_t energy

saves previous frame energy.

◆ mu

q15_t mu

step size that controls filter coefficient updates.

◆ numTaps

uint16_t numTaps

Number of coefficients in the filter.

◆ pCoeffs

q15_t* pCoeffs

points to the coefficient array. The array is of length numTaps.

◆ postShift

uint8_t postShift

bit shift applied to coefficients.

◆ pState

q15_t* pState

points to the state variable array. The array is of length numTaps+blockSize-1.

◆ recipTable

const q15_t* recipTable

Points to the reciprocal initial value table.

◆ x0

q15_t x0

saves previous input sample.