microSDカードからWaveファイルを再生するサンプルです。
Dependencies: mbed FATFileSystem
SDFileSystem/FATFileSystem/ChaN/integer.h@0:e9f196d85a46, 2014-05-12 (annotated)
- Committer:
- jksoft
- Date:
- Mon May 12 14:45:42 2014 +0000
- Revision:
- 0:e9f196d85a46
First edition
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jksoft | 0:e9f196d85a46 | 1 | /*-------------------------------------------*/ |
jksoft | 0:e9f196d85a46 | 2 | /* Integer type definitions for FatFs module */ |
jksoft | 0:e9f196d85a46 | 3 | /*-------------------------------------------*/ |
jksoft | 0:e9f196d85a46 | 4 | |
jksoft | 0:e9f196d85a46 | 5 | #ifndef _INTEGER |
jksoft | 0:e9f196d85a46 | 6 | #define _INTEGER |
jksoft | 0:e9f196d85a46 | 7 | |
jksoft | 0:e9f196d85a46 | 8 | #ifdef _WIN32 /* FatFs development platform */ |
jksoft | 0:e9f196d85a46 | 9 | |
jksoft | 0:e9f196d85a46 | 10 | #include <windows.h> |
jksoft | 0:e9f196d85a46 | 11 | #include <tchar.h> |
jksoft | 0:e9f196d85a46 | 12 | |
jksoft | 0:e9f196d85a46 | 13 | #else /* Embedded platform */ |
jksoft | 0:e9f196d85a46 | 14 | |
jksoft | 0:e9f196d85a46 | 15 | /* These types must be 16-bit, 32-bit or larger integer */ |
jksoft | 0:e9f196d85a46 | 16 | typedef int INT; |
jksoft | 0:e9f196d85a46 | 17 | typedef unsigned int UINT; |
jksoft | 0:e9f196d85a46 | 18 | |
jksoft | 0:e9f196d85a46 | 19 | /* These types must be 8-bit integer */ |
jksoft | 0:e9f196d85a46 | 20 | typedef char CHAR; |
jksoft | 0:e9f196d85a46 | 21 | typedef unsigned char UCHAR; |
jksoft | 0:e9f196d85a46 | 22 | typedef unsigned char BYTE; |
jksoft | 0:e9f196d85a46 | 23 | |
jksoft | 0:e9f196d85a46 | 24 | /* These types must be 16-bit integer */ |
jksoft | 0:e9f196d85a46 | 25 | typedef short SHORT; |
jksoft | 0:e9f196d85a46 | 26 | typedef unsigned short USHORT; |
jksoft | 0:e9f196d85a46 | 27 | typedef unsigned short WORD; |
jksoft | 0:e9f196d85a46 | 28 | typedef unsigned short WCHAR; |
jksoft | 0:e9f196d85a46 | 29 | |
jksoft | 0:e9f196d85a46 | 30 | /* These types must be 32-bit integer */ |
jksoft | 0:e9f196d85a46 | 31 | typedef long LONG; |
jksoft | 0:e9f196d85a46 | 32 | typedef unsigned long ULONG; |
jksoft | 0:e9f196d85a46 | 33 | typedef unsigned long DWORD; |
jksoft | 0:e9f196d85a46 | 34 | |
jksoft | 0:e9f196d85a46 | 35 | #endif |
jksoft | 0:e9f196d85a46 | 36 | |
jksoft | 0:e9f196d85a46 | 37 | #endif |