2018.07.26
Fork of FATFileSystem by
ChaN/integer.h@5:b3b3370574cf, 2015-08-13 (annotated)
- Committer:
- mbed_official
- Date:
- Thu Aug 13 10:15:39 2015 +0100
- Revision:
- 5:b3b3370574cf
- Parent:
- 1:46ce1e16c870
- Child:
- 6:a5fcdbf92056
Synchronized with git revision ab6a668ec18ad1530649c4cf1067a42816c6a7f8
Full URL: https://github.com/mbedmicro/mbed/commit/ab6a668ec18ad1530649c4cf1067a42816c6a7f8/
FATFileSystem - Updated FatFs to R0.11
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 1:46ce1e16c870 | 1 | /*-------------------------------------------*/ |
emilmont | 1:46ce1e16c870 | 2 | /* Integer type definitions for FatFs module */ |
emilmont | 1:46ce1e16c870 | 3 | /*-------------------------------------------*/ |
emilmont | 1:46ce1e16c870 | 4 | |
mbed_official | 5:b3b3370574cf | 5 | #ifndef _FF_INTEGER |
mbed_official | 5:b3b3370574cf | 6 | #define _FF_INTEGER |
emilmont | 1:46ce1e16c870 | 7 | |
mbed_official | 5:b3b3370574cf | 8 | #ifdef _WIN32 /* FatFs development platform */ |
emilmont | 1:46ce1e16c870 | 9 | |
emilmont | 1:46ce1e16c870 | 10 | #include <windows.h> |
emilmont | 1:46ce1e16c870 | 11 | #include <tchar.h> |
emilmont | 1:46ce1e16c870 | 12 | |
mbed_official | 5:b3b3370574cf | 13 | #else /* Embedded platform */ |
emilmont | 1:46ce1e16c870 | 14 | |
mbed_official | 5:b3b3370574cf | 15 | /* This type MUST be 8 bit */ |
mbed_official | 5:b3b3370574cf | 16 | typedef unsigned char BYTE; |
emilmont | 1:46ce1e16c870 | 17 | |
mbed_official | 5:b3b3370574cf | 18 | /* These types MUST be 16 bit */ |
mbed_official | 5:b3b3370574cf | 19 | typedef short SHORT; |
mbed_official | 5:b3b3370574cf | 20 | typedef unsigned short WORD; |
mbed_official | 5:b3b3370574cf | 21 | typedef unsigned short WCHAR; |
emilmont | 1:46ce1e16c870 | 22 | |
mbed_official | 5:b3b3370574cf | 23 | /* These types MUST be 16 bit or 32 bit */ |
mbed_official | 5:b3b3370574cf | 24 | typedef int INT; |
mbed_official | 5:b3b3370574cf | 25 | typedef unsigned int UINT; |
mbed_official | 5:b3b3370574cf | 26 | |
mbed_official | 5:b3b3370574cf | 27 | /* These types MUST be 32 bit */ |
mbed_official | 5:b3b3370574cf | 28 | typedef long LONG; |
mbed_official | 5:b3b3370574cf | 29 | typedef unsigned long DWORD; |
emilmont | 1:46ce1e16c870 | 30 | |
emilmont | 1:46ce1e16c870 | 31 | #endif |
emilmont | 1:46ce1e16c870 | 32 | |
emilmont | 1:46ce1e16c870 | 33 | #endif |
mbed_official | 5:b3b3370574cf | 34 |