|
ESP-IDF Firmware
Firmware architecture and call graph
|
#include "dsps_fir.h"Go to the source code of this file.
Functions | |
| esp_err_t | dsps_fird_init_f32 (fir_f32_t *fir, float *coeffs, float *delay, int N, int decim) |
| initialize structure for 32 bit Decimation FIR filter Function initialize structure for 32 bit floating point FIR filter with decimation The implementation use ANSI C and could be compiled and run on any platform | |
initialize structure for 32 bit Decimation FIR filter Function initialize structure for 32 bit floating point FIR filter with decimation The implementation use ANSI C and could be compiled and run on any platform
| fir | pointer to fir filter structure, that must be preallocated |
| coeffs | array with FIR filter coefficients. Must be length N |
| delay | array for FIR filter delay line. Must be length N |
| N | FIR filter length. Length of coeffs and delay arrays. |
| decim | decimation factor. |
Definition at line 18 of file dsps_fird_init_f32.c.
References coeffs, fir_f32_s::coeffs, fir_f32_s::decim, delay, fir_f32_s::delay, ESP_ERR_DSP_ARRAY_NOT_ALIGNED, ESP_ERR_DSP_INVALID_LENGTH, ESP_OK, fir_f32_s::N, N, and fir_f32_s::pos.