NMSIS-DSP  Version 1.3.1
NMSIS DSP Software Library
riscv_lms_norm_instance_q15 Struct Reference

Instance structure for the Q15 normalized LMS filter. More...

Data Fields

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

Detailed Description

Instance structure for the Q15 normalized LMS filter.

Field Documentation

◆ energy

q15_t riscv_lms_norm_instance_q15::energy

saves previous frame energy.

◆ mu

q15_t riscv_lms_norm_instance_q15::mu

step size that controls filter coefficient updates.

◆ numTaps

uint16_t riscv_lms_norm_instance_q15::numTaps

Number of coefficients in the filter.

◆ pCoeffs

q15_t* riscv_lms_norm_instance_q15::pCoeffs

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

◆ postShift

uint8_t riscv_lms_norm_instance_q15::postShift

bit shift applied to coefficients.

◆ pState

q15_t* riscv_lms_norm_instance_q15::pState

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

◆ recipTable

const q15_t* riscv_lms_norm_instance_q15::recipTable

Points to the reciprocal initial value table.

◆ x0

q15_t riscv_lms_norm_instance_q15::x0

saves previous input sample.