Mercurial > hg > beaglert
annotate projects/filter_IIR/SampleData.h @ 39:638bc1ae2500 staging
Improved readibility of the DIGITAL code in the PRU, using register names instead of aliases and expanding some of the macros, removing unused macros. Binaries were not modified
| author | Giulio Moro <giuliomoro@yahoo.it> |
|---|---|
| date | Wed, 13 May 2015 12:18:10 +0100 |
| parents | 6810f166482f |
| children |
| rev | line source |
|---|---|
| victor@3 | 1 /* |
| victor@3 | 2 * SampleData.h |
| victor@3 | 3 * |
| victor@3 | 4 * Created on: Nov 5, 2014 |
| victor@3 | 5 * Author: Victor Zappi |
| victor@3 | 6 */ |
| victor@3 | 7 |
| victor@3 | 8 #ifndef SAMPLEDATA_H_ |
| victor@3 | 9 #define SAMPLEDATA_H_ |
| victor@3 | 10 |
| victor@3 | 11 // User defined structure to pass between main and rendere complex data retrieved from file |
| victor@3 | 12 struct SampleData { |
| victor@3 | 13 float *samples; // Samples in file |
| victor@3 | 14 int sampleLen; // Total nume of samples |
| victor@3 | 15 }; |
| victor@3 | 16 |
| victor@3 | 17 |
| victor@3 | 18 |
| victor@3 | 19 #endif /* SAMPLEDATA_H_ */ |
