Christian Lerche
/
EA_DoorPlayer
EA BaseBoard, playing wav, PC see\'s SD-card through USB port.
ChaNFS/CHAN_FS/integer.h@0:fef366d2ed20, 2011-11-22 (annotated)
- Committer:
- Lerche
- Date:
- Tue Nov 22 05:45:58 2011 +0000
- Revision:
- 0:fef366d2ed20
Thanks to those who provided EA_WavPlayer and USB_MSC
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Lerche | 0:fef366d2ed20 | 1 | /*-------------------------------------------*/ |
Lerche | 0:fef366d2ed20 | 2 | /* Integer type definitions for FatFs module */ |
Lerche | 0:fef366d2ed20 | 3 | /*-------------------------------------------*/ |
Lerche | 0:fef366d2ed20 | 4 | |
Lerche | 0:fef366d2ed20 | 5 | #ifndef _INTEGER |
Lerche | 0:fef366d2ed20 | 6 | #define _INTEGER |
Lerche | 0:fef366d2ed20 | 7 | |
Lerche | 0:fef366d2ed20 | 8 | #ifdef _WIN32 /* FatFs development platform */ |
Lerche | 0:fef366d2ed20 | 9 | |
Lerche | 0:fef366d2ed20 | 10 | #include <windows.h> |
Lerche | 0:fef366d2ed20 | 11 | #include <tchar.h> |
Lerche | 0:fef366d2ed20 | 12 | |
Lerche | 0:fef366d2ed20 | 13 | #else /* Embedded platform */ |
Lerche | 0:fef366d2ed20 | 14 | |
Lerche | 0:fef366d2ed20 | 15 | /* These types must be 16-bit, 32-bit or larger integer */ |
Lerche | 0:fef366d2ed20 | 16 | typedef int INT; |
Lerche | 0:fef366d2ed20 | 17 | typedef unsigned int UINT; |
Lerche | 0:fef366d2ed20 | 18 | |
Lerche | 0:fef366d2ed20 | 19 | /* These types must be 8-bit integer */ |
Lerche | 0:fef366d2ed20 | 20 | typedef char CHAR; |
Lerche | 0:fef366d2ed20 | 21 | typedef unsigned char UCHAR; |
Lerche | 0:fef366d2ed20 | 22 | typedef unsigned char BYTE; |
Lerche | 0:fef366d2ed20 | 23 | |
Lerche | 0:fef366d2ed20 | 24 | /* These types must be 16-bit integer */ |
Lerche | 0:fef366d2ed20 | 25 | typedef short SHORT; |
Lerche | 0:fef366d2ed20 | 26 | typedef unsigned short USHORT; |
Lerche | 0:fef366d2ed20 | 27 | typedef unsigned short WORD; |
Lerche | 0:fef366d2ed20 | 28 | typedef unsigned short WCHAR; |
Lerche | 0:fef366d2ed20 | 29 | |
Lerche | 0:fef366d2ed20 | 30 | /* These types must be 32-bit integer */ |
Lerche | 0:fef366d2ed20 | 31 | typedef long LONG; |
Lerche | 0:fef366d2ed20 | 32 | typedef unsigned long ULONG; |
Lerche | 0:fef366d2ed20 | 33 | typedef unsigned long DWORD; |
Lerche | 0:fef366d2ed20 | 34 | |
Lerche | 0:fef366d2ed20 | 35 | #endif |
Lerche | 0:fef366d2ed20 | 36 | |
Lerche | 0:fef366d2ed20 | 37 | #endif |