Logo
MSP DSP Library
msp_biquad_df2_q15_params Struct Reference

Parameter structure for Direct Form 2 biquad filter. More...

#include <DSPLib_filter.h>

Data Fields

uint16_t length
 
const _q15coeffs
 
_q15 sumMax
 
_q15 sumMin
 
_q15 bias
 
_q15 Q1
 
_q15 Q2
 

Detailed Description

Parameter structure for Direct Form 2 biquad filter.

Field Documentation

_q15 msp_biquad_df2_q15_params::bias

DC bias added to input of the biquad operation.

const _q15* msp_biquad_df2_q15_params::coeffs

Pointer to filter coefficient vector of length 7 in format a0, a1, a2, a3, b1, b2, b3.

uint16_t msp_biquad_df2_q15_params::length

Length of the source data, must be a multiple of two.

_q15 msp_biquad_df2_q15_params::Q1

State of the biquad operation. Initialize to zero and pass the previous state to the next biquad operation when continuous operation is desired.

_q15 msp_biquad_df2_q15_params::Q2

State of the biquad operation. Initialize to zero and pass the previous state to the next biquad operation when continuous operation is desired.

_q15 msp_biquad_df2_q15_params::sumMax

Maximum of the output vector.

_q15 msp_biquad_df2_q15_params::sumMin

Minimum of the output vector.


The documentation for this struct was generated from the following file: