Updated FAT File System driver. Features include: * Updated to R0.09 - Sep 06, 2011 [[http://elm-chan.org/fsw/ff/00index_e.html]] * Bug fixes from Stéphane Bausseron ** [[http://mbed.org/forum/mbed/topic/2273/?page=1#comment-11521]] ** [[http://mbed.org/forum/mbed/topic/2307]] * Long filename support enabled and exposed through mbed SDK.
Dependents: WeatherStation GPSLogger Deneme dotHR_EKF ... more
integer.h@0:6ceefe1c53e4, 2011-12-25 (annotated)
- Committer:
- AdamGreen
- Date:
- Sun Dec 25 01:45:20 2011 +0000
- Revision:
- 0:6ceefe1c53e4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AdamGreen | 0:6ceefe1c53e4 | 1 | /*-------------------------------------------*/ |
AdamGreen | 0:6ceefe1c53e4 | 2 | /* Integer type definitions for FatFs module */ |
AdamGreen | 0:6ceefe1c53e4 | 3 | /*-------------------------------------------*/ |
AdamGreen | 0:6ceefe1c53e4 | 4 | |
AdamGreen | 0:6ceefe1c53e4 | 5 | #ifndef _INTEGER |
AdamGreen | 0:6ceefe1c53e4 | 6 | #define _INTEGER |
AdamGreen | 0:6ceefe1c53e4 | 7 | |
AdamGreen | 0:6ceefe1c53e4 | 8 | #ifdef _WIN32 /* FatFs development platform */ |
AdamGreen | 0:6ceefe1c53e4 | 9 | |
AdamGreen | 0:6ceefe1c53e4 | 10 | #include <windows.h> |
AdamGreen | 0:6ceefe1c53e4 | 11 | #include <tchar.h> |
AdamGreen | 0:6ceefe1c53e4 | 12 | |
AdamGreen | 0:6ceefe1c53e4 | 13 | #else /* Embedded platform */ |
AdamGreen | 0:6ceefe1c53e4 | 14 | |
AdamGreen | 0:6ceefe1c53e4 | 15 | /* These types must be 16-bit, 32-bit or larger integer */ |
AdamGreen | 0:6ceefe1c53e4 | 16 | typedef int INT; |
AdamGreen | 0:6ceefe1c53e4 | 17 | typedef unsigned int UINT; |
AdamGreen | 0:6ceefe1c53e4 | 18 | |
AdamGreen | 0:6ceefe1c53e4 | 19 | /* These types must be 8-bit integer */ |
AdamGreen | 0:6ceefe1c53e4 | 20 | typedef char CHAR; |
AdamGreen | 0:6ceefe1c53e4 | 21 | typedef unsigned char UCHAR; |
AdamGreen | 0:6ceefe1c53e4 | 22 | typedef unsigned char BYTE; |
AdamGreen | 0:6ceefe1c53e4 | 23 | |
AdamGreen | 0:6ceefe1c53e4 | 24 | /* These types must be 16-bit integer */ |
AdamGreen | 0:6ceefe1c53e4 | 25 | typedef short SHORT; |
AdamGreen | 0:6ceefe1c53e4 | 26 | typedef unsigned short USHORT; |
AdamGreen | 0:6ceefe1c53e4 | 27 | typedef unsigned short WORD; |
AdamGreen | 0:6ceefe1c53e4 | 28 | typedef unsigned short WCHAR; |
AdamGreen | 0:6ceefe1c53e4 | 29 | |
AdamGreen | 0:6ceefe1c53e4 | 30 | /* These types must be 32-bit integer */ |
AdamGreen | 0:6ceefe1c53e4 | 31 | typedef long LONG; |
AdamGreen | 0:6ceefe1c53e4 | 32 | typedef unsigned long ULONG; |
AdamGreen | 0:6ceefe1c53e4 | 33 | typedef unsigned long DWORD; |
AdamGreen | 0:6ceefe1c53e4 | 34 | |
AdamGreen | 0:6ceefe1c53e4 | 35 | #endif |
AdamGreen | 0:6ceefe1c53e4 | 36 | |
AdamGreen | 0:6ceefe1c53e4 | 37 | #endif |