precision-converters-firmware
|
FFT library implementation. More...
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <errno.h>
#include "adi_fft.h"
#include "adi_fft_windowing.h"
Macros | |
#define | ADI_FFT_DC_BINS 10 |
#define | ADI_FFT_FUND_BINS 10 |
#define | ADI_FFT_HARM_BINS 3 |
Functions | |
int | adi_fft_init (struct adi_fft_init_params *param, struct adi_fft_processing *fft_proc, struct adi_fft_measurements *fft_meas) |
Initialize the FFT structure. More... | |
int | adi_fft_update_params (struct adi_fft_init_params *param, struct adi_fft_processing *fft_proc) |
Update the FFT parameters. More... | |
int | adi_fft_perform (struct adi_fft_processing *fft_proc, struct adi_fft_measurements *fft_meas) |
Perform the FFT. More... | |
FFT library implementation.
Copyright (c) 2023 Analog Devices, Inc.
This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.
#define ADI_FFT_DC_BINS 10 |
#define ADI_FFT_FUND_BINS 10 |
#define ADI_FFT_HARM_BINS 3 |
int adi_fft_init | ( | struct adi_fft_init_params * | param, |
struct adi_fft_processing * | fft_proc, | ||
struct adi_fft_measurements * | fft_meas | ||
) |
Initialize the FFT structure.
param[in] | - FFT init parameters |
fft_proc[in,out] | - FFT processing parameters |
fft_meas[in,out] | - FFT measurements parameters |
int adi_fft_perform | ( | struct adi_fft_processing * | fft_proc, |
struct adi_fft_measurements * | fft_meas | ||
) |
Perform the FFT.
fft_proc[in,out] | - FFT processing parameters |
fft_meas[in,out] | - FFT measurements parameters |
int adi_fft_update_params | ( | struct adi_fft_init_params * | param, |
struct adi_fft_processing * | fft_proc | ||
) |
Update the FFT parameters.
param[in] | - FFT init parameters |
fft_proc[in,out] | - FFT entry parameters |