Adventure game written for ECE2035 at the Georgia Institute of Technology
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
SDFileSystem/FATFileSystem/ChaN/integer.h@5:93a4c396c1af, 2019-10-26 (annotated)
- Committer:
- trmontgomery
- Date:
- Sat Oct 26 15:44:26 2019 +0000
- Revision:
- 5:93a4c396c1af
- Parent:
- 0:35660d7952f7
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rconnorlawson | 0:35660d7952f7 | 1 | /*-------------------------------------------*/ |
rconnorlawson | 0:35660d7952f7 | 2 | /* Integer type definitions for FatFs module */ |
rconnorlawson | 0:35660d7952f7 | 3 | /*-------------------------------------------*/ |
rconnorlawson | 0:35660d7952f7 | 4 | |
rconnorlawson | 0:35660d7952f7 | 5 | #ifndef _INTEGER |
rconnorlawson | 0:35660d7952f7 | 6 | #define _INTEGER |
rconnorlawson | 0:35660d7952f7 | 7 | |
rconnorlawson | 0:35660d7952f7 | 8 | #ifdef _WIN32 /* FatFs development platform */ |
rconnorlawson | 0:35660d7952f7 | 9 | |
rconnorlawson | 0:35660d7952f7 | 10 | #include <windows.h> |
rconnorlawson | 0:35660d7952f7 | 11 | #include <tchar.h> |
rconnorlawson | 0:35660d7952f7 | 12 | |
rconnorlawson | 0:35660d7952f7 | 13 | #else /* Embedded platform */ |
rconnorlawson | 0:35660d7952f7 | 14 | |
rconnorlawson | 0:35660d7952f7 | 15 | /* These types must be 16-bit, 32-bit or larger integer */ |
rconnorlawson | 0:35660d7952f7 | 16 | typedef int INT; |
rconnorlawson | 0:35660d7952f7 | 17 | typedef unsigned int UINT; |
rconnorlawson | 0:35660d7952f7 | 18 | |
rconnorlawson | 0:35660d7952f7 | 19 | /* These types must be 8-bit integer */ |
rconnorlawson | 0:35660d7952f7 | 20 | typedef char CHAR; |
rconnorlawson | 0:35660d7952f7 | 21 | typedef unsigned char UCHAR; |
rconnorlawson | 0:35660d7952f7 | 22 | typedef unsigned char BYTE; |
rconnorlawson | 0:35660d7952f7 | 23 | |
rconnorlawson | 0:35660d7952f7 | 24 | /* These types must be 16-bit integer */ |
rconnorlawson | 0:35660d7952f7 | 25 | typedef short SHORT; |
rconnorlawson | 0:35660d7952f7 | 26 | typedef unsigned short USHORT; |
rconnorlawson | 0:35660d7952f7 | 27 | typedef unsigned short WORD; |
rconnorlawson | 0:35660d7952f7 | 28 | typedef unsigned short WCHAR; |
rconnorlawson | 0:35660d7952f7 | 29 | |
rconnorlawson | 0:35660d7952f7 | 30 | /* These types must be 32-bit integer */ |
rconnorlawson | 0:35660d7952f7 | 31 | typedef long LONG; |
rconnorlawson | 0:35660d7952f7 | 32 | typedef unsigned long ULONG; |
rconnorlawson | 0:35660d7952f7 | 33 | typedef unsigned long DWORD; |
rconnorlawson | 0:35660d7952f7 | 34 | |
rconnorlawson | 0:35660d7952f7 | 35 | #endif |
rconnorlawson | 0:35660d7952f7 | 36 | |
rconnorlawson | 0:35660d7952f7 | 37 | #endif |