khoa phan test
Dependencies: 4DGL-uLCD-SE MMA8452 mbed wave_player
Fork of rpg_game_shell by
SDFileSystem/FATFileSystem/ChaN/integer.h@0:35660d7952f7, 2018-03-30 (annotated)
- Committer:
- rconnorlawson
- Date:
- Fri Mar 30 17:07:25 2018 +0000
- Revision:
- 0:35660d7952f7
Hollowed out shell code.
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 |