clemente di caprio
/
XMON_tst
XMON Library Program demonstration
vawe_data.h@0:1b9f9f5d6d78, 2012-05-26 (annotated)
- Committer:
- clemente
- Date:
- Sat May 26 20:55:19 2012 +0000
- Revision:
- 0:1b9f9f5d6d78
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
clemente | 0:1b9f9f5d6d78 | 1 | #ifndef __VAWE_DATA_H |
clemente | 0:1b9f9f5d6d78 | 2 | #define __VAWE_DATA_H |
clemente | 0:1b9f9f5d6d78 | 3 | |
clemente | 0:1b9f9f5d6d78 | 4 | /** Data struct to manage the data file created with dsPICWorks from Microchip. |
clemente | 0:1b9f9f5d6d78 | 5 | * dsPICWorks is a useful tool to generate signal. I develop a very "quick&durty" DOS program |
clemente | 0:1b9f9f5d6d78 | 6 | * in C to convert the dsPICWorks generated file as include file, using this struct declaration. |
clemente | 0:1b9f9f5d6d78 | 7 | * |
clemente | 0:1b9f9f5d6d78 | 8 | * To download dsPICWorks: |
clemente | 0:1b9f9f5d6d78 | 9 | * http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023587 |
clemente | 0:1b9f9f5d6d78 | 10 | * |
clemente | 0:1b9f9f5d6d78 | 11 | */ |
clemente | 0:1b9f9f5d6d78 | 12 | typedef struct _vawe_data |
clemente | 0:1b9f9f5d6d78 | 13 | { |
clemente | 0:1b9f9f5d6d78 | 14 | int freq; // frequency value |
clemente | 0:1b9f9f5d6d78 | 15 | int srate; // sampling rate |
clemente | 0:1b9f9f5d6d78 | 16 | int samples; // number of sample |
clemente | 0:1b9f9f5d6d78 | 17 | const unsigned short *pdata; // pointer to the array |
clemente | 0:1b9f9f5d6d78 | 18 | } VAWE_DATA; |
clemente | 0:1b9f9f5d6d78 | 19 | |
clemente | 0:1b9f9f5d6d78 | 20 | #endif |