7#ifndef _dsps_cplx_gen_H_
8#define _dsps_cplx_gen_H_
181#if (dsps_cplx_gen_ae32_enbled || dsps_cplx_gen_aes3_enbled)
182#define dsps_cplx_gen dsps_cplx_gen_ae32
184#define dsps_cplx_gen dsps_cplx_gen_ansi
esp_err_t dsps_cplx_gen_freq_set(cplx_sig_t *cplx_gen, float freq)
function sets the output frequency of the complex generator
esp_err_t dsps_cplx_gen_phase_set(cplx_sig_t *cplx_gen, float phase)
function sets the phase of the complex generator
esp_err_t dsps_cplx_gen_ae32(cplx_sig_t *cplx_gen, void *output, int32_t len)
esp_err_t dsps_cplx_gen_set(cplx_sig_t *cplx_gen, float freq, float phase)
function sets the output frequency and the phase of the complex generator
struct cplx_sig_s cplx_sig_t
Data struct of the complex signal generator.
esp_err_t dsps_cplx_gen_ansi(cplx_sig_t *cplx_gen, void *output, int32_t len)
The function generates a complex signal.
float dsps_cplx_gen_freq_get(cplx_sig_t *cplx_gen)
function gets the output frequency of the complex generator
esp_err_t dsps_cplx_gen_init(cplx_sig_t *cplx_gen, out_d_type d_type, void *lut, int32_t lut_len, float freq, float initial_phase)
Initialize strucure for complex generator.
float dsps_cplx_gen_phase_get(cplx_sig_t *cplx_gen)
function gets the phase of the complex generator
void cplx_gen_free(cplx_sig_t *cplx_gen)
function frees dynamically allocated memory, which was allocated in the init function
output_data_type
Ennum defining output data type of the complex generator.
enum output_data_type out_d_type
Ennum defining output data type of the complex generator.
Data struct of the complex signal generator.