none
Dependents: 4180_Project YNU_MPU YNU_MPUd2 YNU_MPUd2 ... more
Fork of FatFileSystem by
integer.h@4:b12f19dfe9fc, 2012-12-07 (annotated)
- Committer:
- kpatel70
- Date:
- Fri Dec 07 17:50:06 2012 +0000
- Revision:
- 4:b12f19dfe9fc
- Parent:
- 0:97df4125f18d
None
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 */ |
kpatel70 | 4:b12f19dfe9fc | 8 | typedef int INT; |
kpatel70 | 4:b12f19dfe9fc | 9 | typedef unsigned int UINT; |
mbed_unsupported | 0:97df4125f18d | 10 | |
mbed_unsupported | 0:97df4125f18d | 11 | /* These types must be 8-bit integer */ |
kpatel70 | 4:b12f19dfe9fc | 12 | typedef signed char CHAR; |
kpatel70 | 4:b12f19dfe9fc | 13 | typedef unsigned char UCHAR; |
kpatel70 | 4:b12f19dfe9fc | 14 | typedef unsigned char BYTE; |
mbed_unsupported | 0:97df4125f18d | 15 | |
mbed_unsupported | 0:97df4125f18d | 16 | /* These types must be 16-bit integer */ |
kpatel70 | 4:b12f19dfe9fc | 17 | typedef short SHORT; |
kpatel70 | 4:b12f19dfe9fc | 18 | typedef unsigned short USHORT; |
kpatel70 | 4:b12f19dfe9fc | 19 | typedef unsigned short WORD; |
mbed_unsupported | 0:97df4125f18d | 20 | |
mbed_unsupported | 0:97df4125f18d | 21 | /* These types must be 32-bit integer */ |
kpatel70 | 4:b12f19dfe9fc | 22 | typedef long LONG; |
kpatel70 | 4:b12f19dfe9fc | 23 | typedef unsigned long ULONG; |
kpatel70 | 4:b12f19dfe9fc | 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 |