This software will read a .wav file from an SD card and display the header information contained within it. It is designed to work with the SD card on the mbed carrier which is part of the RS-EDP system.
Dependencies: mbed SDFileSystem
HeaderFiles/misra_types.h@0:35c1800c59e6, 2010-11-19 (annotated)
- Committer:
- DavidGilesHitex
- Date:
- Fri Nov 19 09:54:23 2010 +0000
- Revision:
- 0:35c1800c59e6
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DavidGilesHitex | 0:35c1800c59e6 | 1 | /* Hitex Standard Header File */ |
DavidGilesHitex | 0:35c1800c59e6 | 2 | /* Types As Recommended By MISRA */ |
DavidGilesHitex | 0:35c1800c59e6 | 3 | |
DavidGilesHitex | 0:35c1800c59e6 | 4 | |
DavidGilesHitex | 0:35c1800c59e6 | 5 | |
DavidGilesHitex | 0:35c1800c59e6 | 6 | /* Bytes (8bit length) */ |
DavidGilesHitex | 0:35c1800c59e6 | 7 | typedef unsigned char uint8_t; |
DavidGilesHitex | 0:35c1800c59e6 | 8 | typedef char sint8_t; |
DavidGilesHitex | 0:35c1800c59e6 | 9 | |
DavidGilesHitex | 0:35c1800c59e6 | 10 | /* Half Words (16bit lengths) */ |
DavidGilesHitex | 0:35c1800c59e6 | 11 | typedef unsigned short uint16_t; |
DavidGilesHitex | 0:35c1800c59e6 | 12 | typedef short sint16_t; |
DavidGilesHitex | 0:35c1800c59e6 | 13 | |
DavidGilesHitex | 0:35c1800c59e6 | 14 | /* Words (32bit lengths) */ |
DavidGilesHitex | 0:35c1800c59e6 | 15 | /* Also int */ |
DavidGilesHitex | 0:35c1800c59e6 | 16 | typedef unsigned int uint32_t; |
DavidGilesHitex | 0:35c1800c59e6 | 17 | typedef long sint32_t; |
DavidGilesHitex | 0:35c1800c59e6 | 18 | |
DavidGilesHitex | 0:35c1800c59e6 | 19 | /* Double Words */ |
DavidGilesHitex | 0:35c1800c59e6 | 20 | typedef unsigned long long uint64_t; |
DavidGilesHitex | 0:35c1800c59e6 | 21 | typedef long long sint64_t; |
DavidGilesHitex | 0:35c1800c59e6 | 22 | |
DavidGilesHitex | 0:35c1800c59e6 | 23 | |
DavidGilesHitex | 0:35c1800c59e6 | 24 | /* |
DavidGilesHitex | 0:35c1800c59e6 | 25 | Constants should use the following suffixes also |
DavidGilesHitex | 0:35c1800c59e6 | 26 | |
DavidGilesHitex | 0:35c1800c59e6 | 27 | u - Unsigned |
DavidGilesHitex | 0:35c1800c59e6 | 28 | f - floating |
DavidGilesHitex | 0:35c1800c59e6 | 29 | L - Long double (64bit) |
DavidGilesHitex | 0:35c1800c59e6 | 30 | |
DavidGilesHitex | 0:35c1800c59e6 | 31 | */ |
DavidGilesHitex | 0:35c1800c59e6 | 32 |