app_fft.h 376 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __APP_FFT_H__
  2. #define __APP_FFT_H__
  3. #include "hc32_ll_fcg.h"
  4. typedef double real_T;
  5. typedef unsigned short uint16_T;
  6. typedef struct{
  7. real_T returnFreq[3][5];
  8. real_T returnP[3][5];
  9. }fft_data_t;
  10. typedef struct {
  11. real_T re;
  12. real_T im;
  13. } creal_T;
  14. typedef struct _fft_Freq
  15. {
  16. real_T freq;
  17. real_T amp;
  18. }fft_type;
  19. void fft_task(void *pvParameters);
  20. #endif