this library has few changes from the original library, for effects of this work.
FATFileSystem/ChaN/integer.h@0:8214896432e0, 2018-05-21 (annotated)
- Committer:
- FannyCalle
- Date:
- Mon May 21 15:10:37 2018 +0000
- Revision:
- 0:8214896432e0
el sd hay que revisar;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
FannyCalle | 0:8214896432e0 | 1 | /*-------------------------------------------*/ |
FannyCalle | 0:8214896432e0 | 2 | /* Integer type definitions for FatFs module */ |
FannyCalle | 0:8214896432e0 | 3 | /*-------------------------------------------*/ |
FannyCalle | 0:8214896432e0 | 4 | |
FannyCalle | 0:8214896432e0 | 5 | #ifndef _FF_INTEGER |
FannyCalle | 0:8214896432e0 | 6 | #define _FF_INTEGER |
FannyCalle | 0:8214896432e0 | 7 | |
FannyCalle | 0:8214896432e0 | 8 | #ifdef _WIN32 /* Development platform */ |
FannyCalle | 0:8214896432e0 | 9 | |
FannyCalle | 0:8214896432e0 | 10 | #include <windows.h> |
FannyCalle | 0:8214896432e0 | 11 | #include <tchar.h> |
FannyCalle | 0:8214896432e0 | 12 | |
FannyCalle | 0:8214896432e0 | 13 | #else /* Embedded platform */ |
FannyCalle | 0:8214896432e0 | 14 | |
FannyCalle | 0:8214896432e0 | 15 | /* This type MUST be 8-bit */ |
FannyCalle | 0:8214896432e0 | 16 | typedef unsigned char BYTE; |
FannyCalle | 0:8214896432e0 | 17 | |
FannyCalle | 0:8214896432e0 | 18 | /* These types MUST be 16-bit */ |
FannyCalle | 0:8214896432e0 | 19 | typedef short SHORT; |
FannyCalle | 0:8214896432e0 | 20 | typedef unsigned short WORD; |
FannyCalle | 0:8214896432e0 | 21 | typedef unsigned short WCHAR; |
FannyCalle | 0:8214896432e0 | 22 | |
FannyCalle | 0:8214896432e0 | 23 | /* These types MUST be 16-bit or 32-bit */ |
FannyCalle | 0:8214896432e0 | 24 | typedef int INT; |
FannyCalle | 0:8214896432e0 | 25 | typedef unsigned int UINT; |
FannyCalle | 0:8214896432e0 | 26 | |
FannyCalle | 0:8214896432e0 | 27 | /* These types MUST be 32-bit */ |
FannyCalle | 0:8214896432e0 | 28 | typedef long LONG; |
FannyCalle | 0:8214896432e0 | 29 | typedef unsigned long DWORD; |
FannyCalle | 0:8214896432e0 | 30 | |
FannyCalle | 0:8214896432e0 | 31 | #endif |
FannyCalle | 0:8214896432e0 | 32 | |
FannyCalle | 0:8214896432e0 | 33 | #endif |