|
ESP-IDF Firmware
Firmware architecture and call graph
|
#include "dsps_d_gen.h"Go to the source code of this file.
Functions | |
| esp_err_t | dsps_d_gen_f32 (float *output, int len, int pos) |
| delta function | |
| esp_err_t dsps_d_gen_f32 | ( | float * | output, |
| int | len, | ||
| int | pos ) |
delta function
The function generate delta function. output[i]=0, if i=[0..N) output[i]=1, if i=pos, pos: [0..N-1) The implementation use ANSI C and could be compiled and run on any platform
| output | output array. |
| len | length of the input signal |
| pos | delta function position |
Definition at line 17 of file dsps_d_gen.c.
References ESP_ERR_DSP_PARAM_OUTOFRANGE, and ESP_OK.