NMSIS-DSP  Version 1.2.0
NMSIS DSP Software Library
riscv_fir_sparse_instance_q15 Struct Reference

Instance structure for the Q15 sparse FIR filter. More...

Data Fields

uint16_t numTaps
 
uint16_t stateIndex
 
q15_t * pState
 
const q15_t * pCoeffs
 
uint16_t maxDelay
 
int32_t * pTapDelay
 

Detailed Description

Instance structure for the Q15 sparse FIR filter.

Field Documentation

◆ maxDelay

uint16_t riscv_fir_sparse_instance_q15::maxDelay

maximum offset specified by the pTapDelay array.

◆ numTaps

uint16_t riscv_fir_sparse_instance_q15::numTaps

number of coefficients in the filter.

◆ pCoeffs

const q15_t* riscv_fir_sparse_instance_q15::pCoeffs

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

◆ pState

q15_t* riscv_fir_sparse_instance_q15::pState

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

◆ pTapDelay

int32_t* riscv_fir_sparse_instance_q15::pTapDelay

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

◆ stateIndex

uint16_t riscv_fir_sparse_instance_q15::stateIndex

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