Microchip® Advanced Software Framework

dsp_filters.h File Reference

Functions

static void dsp16_filt_fir (dsp16_t *vect1, dsp16_t *vect2, int size, dsp16_t *h, int h_size)
 16 bits fixed point version of the FIR . More...
 
void dsp16_filt_iir (dsp16_t *y, dsp16_t *x, int size, dsp16_t *num, int num_size, dsp16_t *den, int den_size, int num_prediv, int den_prediv)
 16-bit fixed point version of the IIR . More...
 
void dsp16_filt_iirpart (dsp16_t *vect1, dsp16_t *vect2, int size, dsp16_t *num, int num_size, dsp16_t *den, int den_size, int num_prediv, int den_prediv)
 16 bits fixed point version of the IIR . More...
 
void dsp16_filt_interpolation (dsp16_t *vect1, dsp16_t *vect2, int vect2_size, dsp16_t *h, int h_size, int interpolation_ratio)
 This function interpolates a vector. More...
 
void dsp16_filt_interpolation_coefsort (dsp16_t *fir_coefs, int n_tap, int interpolation_ratio)
 This function resort the coefficients of a FIR filter to be used with the function dsp16_filt_interpolation. More...
 
void dsp16_filt_lms (dsp16_t *x, dsp16_t *w, int size, dsp16_t new_x, dsp16_t d, dsp16_t *y, dsp16_t *e)
 16-bit fixed point version of the LMS filter. More...
 
void dsp16_filt_lpfirdesign (dsp16_t *c, int fc, int fs, int order)
 16-bit fixed point version of the low-pass FIR filter design. More...
 
void dsp16_filt_lpfirdesign_windowed_sinc (dsp16_t *c, int fc_hz, int fs_hz, int order)
 16-bit fixed point version of the windowed sinc low-pass FIR filter design. More...
 
void dsp16_filt_nlms (dsp16_t *x, dsp16_t *w, int size, dsp16_t new_x, dsp16_t d, dsp16_t *y, dsp16_t *e)
 16-bit fixed point version of the NLMS filter. More...
 
static void dsp32_filt_fir (dsp32_t *vect1, dsp32_t *vect2, int size, dsp32_t *h, int h_size)
 32 bits fixed point version of the FIR . More...
 
void dsp32_filt_iir (dsp32_t *y, dsp32_t *x, int size, dsp32_t *num, int num_size, dsp32_t *den, int den_size, int num_prediv, int den_prediv)
 32-bit fixed point version of the IIR . More...
 
void dsp32_filt_iirpart (dsp32_t *vect1, dsp32_t *vect2, int size, dsp32_t *num, int num_size, dsp32_t *den, int den_size, int num_prediv, int den_prediv)
 32 bits fixed point version of the IIR . More...
 
void dsp32_filt_lms (dsp32_t *x, dsp32_t *w, int size, dsp32_t new_x, dsp32_t d, dsp32_t *y, dsp32_t *e)
 32-bit fixed point version of the LMS filter. More...
 
void dsp32_filt_lms_fir (dsp32_t *x, dsp32_t *w, int size, dsp32_t *y, int i)
 
void dsp32_filt_nlms (dsp32_t *x, dsp32_t *w, int size, dsp32_t new_x, dsp32_t d, dsp32_t *y, dsp32_t *e)
 32-bit fixed point version of the NLMS filter. More...
 
void dsp32_filt_nlms_fir (dsp32_t *x, dsp32_t *w, int size, dsp32_t *y, int i)
 

void dsp32_filt_lms_fir ( dsp32_t x,
dsp32_t w,
int  size,
dsp32_t y,
int  i 
)

Referenced by dsp32_filt_lms().

void dsp32_filt_nlms_fir ( dsp32_t x,
dsp32_t w,
int  size,
dsp32_t y,
int  i 
)

Referenced by dsp32_filt_nlms().