USB lib Joerg
Fork of USBHost_DISCO-F746NG by
FATFileSystem/ChaN/integer.h@26:49c13dfc95d0, 2016-11-30 (annotated)
- Committer:
- schmalzl
- Date:
- Wed Nov 30 10:51:48 2016 +0000
- Revision:
- 26:49c13dfc95d0
- Parent:
- 24:5396b6a93262
Turbo Ede v1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DieterGraef | 24:5396b6a93262 | 1 | /*-------------------------------------------*/ |
DieterGraef | 24:5396b6a93262 | 2 | /* Integer type definitions for FatFs module */ |
DieterGraef | 24:5396b6a93262 | 3 | /*-------------------------------------------*/ |
DieterGraef | 24:5396b6a93262 | 4 | |
DieterGraef | 24:5396b6a93262 | 5 | #ifndef _FF_INTEGER |
DieterGraef | 24:5396b6a93262 | 6 | #define _FF_INTEGER |
DieterGraef | 24:5396b6a93262 | 7 | |
DieterGraef | 24:5396b6a93262 | 8 | #ifdef _WIN32 /* FatFs development platform */ |
DieterGraef | 24:5396b6a93262 | 9 | |
DieterGraef | 24:5396b6a93262 | 10 | #include <windows.h> |
DieterGraef | 24:5396b6a93262 | 11 | #include <tchar.h> |
DieterGraef | 24:5396b6a93262 | 12 | |
DieterGraef | 24:5396b6a93262 | 13 | #else /* Embedded platform */ |
DieterGraef | 24:5396b6a93262 | 14 | |
DieterGraef | 24:5396b6a93262 | 15 | /* This type MUST be 8 bit */ |
DieterGraef | 24:5396b6a93262 | 16 | typedef unsigned char BYTE; |
DieterGraef | 24:5396b6a93262 | 17 | |
DieterGraef | 24:5396b6a93262 | 18 | /* These types MUST be 16 bit */ |
DieterGraef | 24:5396b6a93262 | 19 | typedef short SHORT; |
DieterGraef | 24:5396b6a93262 | 20 | typedef unsigned short WORD; |
DieterGraef | 24:5396b6a93262 | 21 | typedef unsigned short WCHAR; |
DieterGraef | 24:5396b6a93262 | 22 | |
DieterGraef | 24:5396b6a93262 | 23 | /* These types MUST be 16 bit or 32 bit */ |
DieterGraef | 24:5396b6a93262 | 24 | typedef int INT; |
DieterGraef | 24:5396b6a93262 | 25 | typedef unsigned int UINT; |
DieterGraef | 24:5396b6a93262 | 26 | |
DieterGraef | 24:5396b6a93262 | 27 | /* These types MUST be 32 bit */ |
DieterGraef | 24:5396b6a93262 | 28 | typedef long LONG; |
DieterGraef | 24:5396b6a93262 | 29 | typedef unsigned long DWORD; |
DieterGraef | 24:5396b6a93262 | 30 | |
DieterGraef | 24:5396b6a93262 | 31 | #endif |
DieterGraef | 24:5396b6a93262 | 32 | |
DieterGraef | 24:5396b6a93262 | 33 | #endif |
DieterGraef | 24:5396b6a93262 | 34 |