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: ifft.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 IFFT_H
msamadani 1:a514e4de034d 11 #define IFFT_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 b_r2br_r2dit_trig(const emxArray_creal32_T *x, int n1_unsigned,
msamadani 1:a514e4de034d 23 const emxArray_real32_T *costab, const emxArray_real32_T *sintab,
msamadani 1:a514e4de034d 24 emxArray_creal32_T *y);
msamadani 1:a514e4de034d 25 extern void get_algo_sizes(int n1, boolean_T useRadix2, int *N2blue, int *nRows);
msamadani 1:a514e4de034d 26 extern void ifft(const emxArray_creal32_T *x, emxArray_creal32_T *y);
msamadani 1:a514e4de034d 27 extern void r2br_r2dit_trig(const emxArray_creal32_T *x, int n1_unsigned, const
msamadani 1:a514e4de034d 28 emxArray_real32_T *costab, const emxArray_real32_T *sintab, emxArray_creal32_T
msamadani 1:a514e4de034d 29 *y);
msamadani 1:a514e4de034d 30 extern void r2br_r2dit_trig_impl(const emxArray_creal32_T *x, int xoffInit, int
msamadani 1:a514e4de034d 31 unsigned_nRows, const emxArray_real32_T *costab, const emxArray_real32_T
msamadani 1:a514e4de034d 32 *sintab, emxArray_creal32_T *y);
msamadani 1:a514e4de034d 33
msamadani 1:a514e4de034d 34 #endif
msamadani 1:a514e4de034d 35
msamadani 1:a514e4de034d 36 //
msamadani 1:a514e4de034d 37 // File trailer for ifft.h
msamadani 1:a514e4de034d 38 //
msamadani 1:a514e4de034d 39 // [EOF]
msamadani 1:a514e4de034d 40 //
msamadani 1:a514e4de034d 41