Studentenversion des ESY6/A Praktikums "signal_processing".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

task_fft.c 474B

1234567891011121314151617181920
  1. #include "task_fft.h"
  2. #include "data_channel.h"
  3. #include "fft_config.h"
  4. #include <math.h>
  5. #include <stdio.h>
  6. #include <stdlib.h>
  7. #include <system.h>
  8. fft_config FFT_CONFIG = {
  9. .base = { .name = "fft",
  10. .binding = BINDING_SW,
  11. .software = task_fft_run,
  12. .configure = NULL,
  13. .hardware = HARDWARE_TASK_5_BASE,
  14. .sources = { DATA_CHANNEL_4_BASE },
  15. .sink = DATA_CHANNEL_5_BASE,
  16. .cycle_count = 0 },
  17. .interval = 1e-6 };