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

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

Data Fields

uint16_t numTaps
 
q15_tpState
 
q15_tpCoeffs
 
q15_t mu
 
uint32_t postShift
 

Detailed Description

Instance structure for the Q15 LMS filter.

Field Documentation

◆ mu

q15_t riscv_lms_instance_q15::mu

step size that controls filter coefficient updates.

◆ numTaps

uint16_t riscv_lms_instance_q15::numTaps

number of coefficients in the filter.

◆ pCoeffs

q15_t* riscv_lms_instance_q15::pCoeffs

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

◆ postShift

uint32_t riscv_lms_instance_q15::postShift

bit shift applied to coefficients.

◆ pState

q15_t* riscv_lms_instance_q15::pState

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