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