My fork of the FATFileSystem (working)
Fork of FATFileSystem by
integer.h@0:97df4125f18d, 2012-05-08 (annotated)
- Committer:
- mbed_unsupported
- Date:
- Tue May 08 11:28:44 2012 +0000
- Revision:
- 0:97df4125f18d
- Child:
- 5:ecf9ff7e4ef2
Convert to mercurial
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_unsupported | 0:97df4125f18d | 1 | /*-------------------------------------------*/ |
mbed_unsupported | 0:97df4125f18d | 2 | /* Integer type definitions for FatFs module */ |
mbed_unsupported | 0:97df4125f18d | 3 | /*-------------------------------------------*/ |
mbed_unsupported | 0:97df4125f18d | 4 | |
mbed_unsupported | 0:97df4125f18d | 5 | #ifndef _INTEGER |
mbed_unsupported | 0:97df4125f18d | 6 | |
mbed_unsupported | 0:97df4125f18d | 7 | /* These types must be 16-bit, 32-bit or larger integer */ |
mbed_unsupported | 0:97df4125f18d | 8 | typedef int INT; |
mbed_unsupported | 0:97df4125f18d | 9 | typedef unsigned int UINT; |
mbed_unsupported | 0:97df4125f18d | 10 | |
mbed_unsupported | 0:97df4125f18d | 11 | /* These types must be 8-bit integer */ |
mbed_unsupported | 0:97df4125f18d | 12 | typedef signed char CHAR; |
mbed_unsupported | 0:97df4125f18d | 13 | typedef unsigned char UCHAR; |
mbed_unsupported | 0:97df4125f18d | 14 | typedef unsigned char BYTE; |
mbed_unsupported | 0:97df4125f18d | 15 | |
mbed_unsupported | 0:97df4125f18d | 16 | /* These types must be 16-bit integer */ |
mbed_unsupported | 0:97df4125f18d | 17 | typedef short SHORT; |
mbed_unsupported | 0:97df4125f18d | 18 | typedef unsigned short USHORT; |
mbed_unsupported | 0:97df4125f18d | 19 | typedef unsigned short WORD; |
mbed_unsupported | 0:97df4125f18d | 20 | |
mbed_unsupported | 0:97df4125f18d | 21 | /* These types must be 32-bit integer */ |
mbed_unsupported | 0:97df4125f18d | 22 | typedef long LONG; |
mbed_unsupported | 0:97df4125f18d | 23 | typedef unsigned long ULONG; |
mbed_unsupported | 0:97df4125f18d | 24 | typedef unsigned long DWORD; |
mbed_unsupported | 0:97df4125f18d | 25 | |
mbed_unsupported | 0:97df4125f18d | 26 | /* Boolean type */ |
mbed_unsupported | 0:97df4125f18d | 27 | typedef enum { FALSE = 0, TRUE } BOOL; |
mbed_unsupported | 0:97df4125f18d | 28 | |
mbed_unsupported | 0:97df4125f18d | 29 | #define _INTEGER |
mbed_unsupported | 0:97df4125f18d | 30 | #endif |