Code for measuring the signal with a specified length and sampling rate, and saving it on a SD card.

Dependencies:   EALib I2S mbed

Committer:
msamadani
Date:
Thu Oct 05 17:44:39 2017 +0000
Revision:
2:8c5b6522139f
Parent:
1:a514e4de034d
A version of the code that initializes the SD RAM, activates the codec, measures the signal and saves the signal onto the SD Card.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
msamadani 1:a514e4de034d 1 //
msamadani 1:a514e4de034d 2 // Academic License - for use in teaching, academic research, and meeting
msamadani 1:a514e4de034d 3 // course requirements at degree granting institutions only. Not for
msamadani 1:a514e4de034d 4 // government, commercial, or other organizational use.
msamadani 1:a514e4de034d 5 // File: fft.h
msamadani 1:a514e4de034d 6 //
msamadani 1:a514e4de034d 7 // MATLAB Coder version : 3.3
msamadani 1:a514e4de034d 8 // C/C++ source code generated on : 13-Jul-2017 15:47:47
msamadani 1:a514e4de034d 9 //
msamadani 1:a514e4de034d 10 #ifndef FFT_H
msamadani 1:a514e4de034d 11 #define FFT_H
msamadani 1:a514e4de034d 12
msamadani 1:a514e4de034d 13 // Include Files
msamadani 1:a514e4de034d 14 #include <cmath>
msamadani 1:a514e4de034d 15 #include <stddef.h>
msamadani 1:a514e4de034d 16 #include <stdlib.h>
msamadani 1:a514e4de034d 17 #include <string.h>
msamadani 1:a514e4de034d 18 #include "rtwtypes.h"
msamadani 1:a514e4de034d 19 #include "envSignal_types.h"
msamadani 1:a514e4de034d 20
msamadani 1:a514e4de034d 21 // Function Declarations
msamadani 1:a514e4de034d 22 extern void fft(const emxArray_real32_T *x, emxArray_creal32_T *y);
msamadani 1:a514e4de034d 23
msamadani 1:a514e4de034d 24 #endif
msamadani 1:a514e4de034d 25
msamadani 1:a514e4de034d 26 //
msamadani 1:a514e4de034d 27 // File trailer for fft.h
msamadani 1:a514e4de034d 28 //
msamadani 1:a514e4de034d 29 // [EOF]
msamadani 1:a514e4de034d 30 //
msamadani 1:a514e4de034d 31