CMSIS-DSP  
CMSIS DSP Software Library
arm_fir_sparse_instance_q15 Struct Reference

Instance structure for the Q15 sparse FIR filter.

Data Fields

uint16_t numTaps
 
uint16_t stateIndex
 
q15_tpState
 
const q15_tpCoeffs
 
uint16_t maxDelay
 
int32_t * pTapDelay
 

Field Documentation

◆ maxDelay

uint16_t maxDelay

maximum offset specified by the pTapDelay array.

◆ numTaps

uint16_t numTaps

number of coefficients in the filter.

◆ pCoeffs

const q15_t* pCoeffs

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

◆ pState

q15_t* pState

points to the state buffer array. The array is of length maxDelay+blockSize-1.

◆ pTapDelay

int32_t* pTapDelay

points to the array of delay values. The array is of length numTaps.

◆ stateIndex

uint16_t stateIndex

state buffer index. Points to the oldest sample in the state buffer.