Test Ver
Dependencies: mbed FatFileSystem
BlueUSB/FATFileSystem/integer.h@0:269589d8d2c2, 2012-11-17 (annotated)
- Committer:
- jksoft
- Date:
- Sat Nov 17 13:22:00 2012 +0000
- Revision:
- 0:269589d8d2c2
Test Program
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jksoft | 0:269589d8d2c2 | 1 | /*-------------------------------------------*/ |
jksoft | 0:269589d8d2c2 | 2 | /* Integer type definitions for FatFs module */ |
jksoft | 0:269589d8d2c2 | 3 | /*-------------------------------------------*/ |
jksoft | 0:269589d8d2c2 | 4 | |
jksoft | 0:269589d8d2c2 | 5 | #ifndef _INTEGER |
jksoft | 0:269589d8d2c2 | 6 | |
jksoft | 0:269589d8d2c2 | 7 | /* These types must be 16-bit, 32-bit or larger integer */ |
jksoft | 0:269589d8d2c2 | 8 | typedef int INT; |
jksoft | 0:269589d8d2c2 | 9 | typedef unsigned int UINT; |
jksoft | 0:269589d8d2c2 | 10 | |
jksoft | 0:269589d8d2c2 | 11 | /* These types must be 8-bit integer */ |
jksoft | 0:269589d8d2c2 | 12 | typedef signed char CHAR; |
jksoft | 0:269589d8d2c2 | 13 | typedef unsigned char UCHAR; |
jksoft | 0:269589d8d2c2 | 14 | typedef unsigned char BYTE; |
jksoft | 0:269589d8d2c2 | 15 | |
jksoft | 0:269589d8d2c2 | 16 | /* These types must be 16-bit integer */ |
jksoft | 0:269589d8d2c2 | 17 | typedef short SHORT; |
jksoft | 0:269589d8d2c2 | 18 | typedef unsigned short USHORT; |
jksoft | 0:269589d8d2c2 | 19 | typedef unsigned short WORD; |
jksoft | 0:269589d8d2c2 | 20 | |
jksoft | 0:269589d8d2c2 | 21 | /* These types must be 32-bit integer */ |
jksoft | 0:269589d8d2c2 | 22 | typedef long LONG; |
jksoft | 0:269589d8d2c2 | 23 | typedef unsigned long ULONG; |
jksoft | 0:269589d8d2c2 | 24 | typedef unsigned long DWORD; |
jksoft | 0:269589d8d2c2 | 25 | |
jksoft | 0:269589d8d2c2 | 26 | /* Boolean type */ |
jksoft | 0:269589d8d2c2 | 27 | typedef enum { FALSE = 0, TRUE } BOOL; |
jksoft | 0:269589d8d2c2 | 28 | |
jksoft | 0:269589d8d2c2 | 29 | #define _INTEGER |
jksoft | 0:269589d8d2c2 | 30 | #endif |