CMSIS-DSP  
CMSIS DSP Software Library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

q15_t energy

saves previous frame energy.

q15_t mu

step size that controls filter coefficient updates.

uint16_t numTaps

Number of coefficients in the filter.

q15_t* pCoeffs

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

uint8_t postShift

bit shift applied to coefficients.

q15_t* pState

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

const q15_t* recipTable

Points to the reciprocal initial value table.

q15_t x0

saves previous input sample.