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

Instance structure for the floating-point sparse FIR filter. More...

Data Fields

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

Detailed Description

Instance structure for the floating-point sparse FIR filter.

Field Documentation

◆ maxDelay

uint16_t riscv_fir_sparse_instance_f32::maxDelay

maximum offset specified by the pTapDelay array.

◆ numTaps

uint16_t riscv_fir_sparse_instance_f32::numTaps

number of coefficients in the filter.

◆ pCoeffs

const float32_t* riscv_fir_sparse_instance_f32::pCoeffs

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

◆ pState

float32_t* riscv_fir_sparse_instance_f32::pState

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

◆ pTapDelay

int32_t* riscv_fir_sparse_instance_f32::pTapDelay

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

◆ stateIndex

uint16_t riscv_fir_sparse_instance_f32::stateIndex

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