Copied on 09 Aug 2012.
Fork of FatFileSystem by
integer.h@4:a1684d0b392e, 2012-11-04 (annotated)
- Committer:
- ds074704261
- Date:
- Sun Nov 04 08:57:18 2012 +0000
- Revision:
- 4:a1684d0b392e
- Parent:
- 0:97df4125f18d
Copied on 09 Aug 2012.
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 |