Fork of FATFileSystem by mbed official

Committer:
emilmont
Date:
Tue Nov 27 17:31:18 2012 +0000
Revision:
1:46ce1e16c870
Child:
5:b3b3370574cf
Commit FATFileSystem code

Who changed what in which revision?

UserRevisionLine numberNew 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
emilmont 1:46ce1e16c870 5 #ifndef _INTEGER
emilmont 1:46ce1e16c870 6 #define _INTEGER
emilmont 1:46ce1e16c870 7
emilmont 1:46ce1e16c870 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
emilmont 1:46ce1e16c870 13 #else /* Embedded platform */
emilmont 1:46ce1e16c870 14
emilmont 1:46ce1e16c870 15 /* These types must be 16-bit, 32-bit or larger integer */
emilmont 1:46ce1e16c870 16 typedef int INT;
emilmont 1:46ce1e16c870 17 typedef unsigned int UINT;
emilmont 1:46ce1e16c870 18
emilmont 1:46ce1e16c870 19 /* These types must be 8-bit integer */
emilmont 1:46ce1e16c870 20 typedef char CHAR;
emilmont 1:46ce1e16c870 21 typedef unsigned char UCHAR;
emilmont 1:46ce1e16c870 22 typedef unsigned char BYTE;
emilmont 1:46ce1e16c870 23
emilmont 1:46ce1e16c870 24 /* These types must be 16-bit integer */
emilmont 1:46ce1e16c870 25 typedef short SHORT;
emilmont 1:46ce1e16c870 26 typedef unsigned short USHORT;
emilmont 1:46ce1e16c870 27 typedef unsigned short WORD;
emilmont 1:46ce1e16c870 28 typedef unsigned short WCHAR;
emilmont 1:46ce1e16c870 29
emilmont 1:46ce1e16c870 30 /* These types must be 32-bit integer */
emilmont 1:46ce1e16c870 31 typedef long LONG;
emilmont 1:46ce1e16c870 32 typedef unsigned long ULONG;
emilmont 1:46ce1e16c870 33 typedef unsigned long DWORD;
emilmont 1:46ce1e16c870 34
emilmont 1:46ce1e16c870 35 #endif
emilmont 1:46ce1e16c870 36
emilmont 1:46ce1e16c870 37 #endif