PDR/1.Software/PDR 1.05/include/Fft.h

19 lines
702 B
C
Raw Normal View History

2022-10-17 20:33:46 +08:00
#ifndef __PDR_FFT_H__
#define __PDR_FFT_H__
/* Header File Including ------------------------------------------------------------------------ */
#include <stdint.h>
#include <math.h>
#include "Complex.h"
/* Macro Declaration ---------------------------------------------------------------------------- */
#define M_PI 3.14159265358979323846 /* pi */
/* Structure Declaration ------------------------------------------------------------------------ */
/* Function Declaration ------------------------------------------------------------------------- */
extern int FFT_Dft(Complex_t *fft, float *signal, int length);
extern int FFT_Fft(Complex_t *fft, float *signal, int length);
#endif