Error debug
Dependents: MSCUsbHost_v2 09_BC2_encoder
Fork of FatFileSystem by
integer.h@4:5fe35852ace9, 2012-07-22 (annotated)
- Committer:
- carlos_nascimento08
- Date:
- Sun Jul 22 19:57:07 2012 +0000
- Revision:
- 4:5fe35852ace9
- Parent:
- 0:97df4125f18d
Library
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
carlos_nascimento08 | 4:5fe35852ace9 | 1 | /*-------------------------------------------*/ |
carlos_nascimento08 | 4:5fe35852ace9 | 2 | /* Integer type definitions for FatFs module */ |
carlos_nascimento08 | 4:5fe35852ace9 | 3 | /*-------------------------------------------*/ |
carlos_nascimento08 | 4:5fe35852ace9 | 4 | |
carlos_nascimento08 | 4:5fe35852ace9 | 5 | #ifndef _INTEGER |
carlos_nascimento08 | 4:5fe35852ace9 | 6 | |
carlos_nascimento08 | 4:5fe35852ace9 | 7 | /* These types must be 16-bit, 32-bit or larger integer */ |
carlos_nascimento08 | 4:5fe35852ace9 | 8 | typedef int INT; |
carlos_nascimento08 | 4:5fe35852ace9 | 9 | typedef unsigned int UINT; |
carlos_nascimento08 | 4:5fe35852ace9 | 10 | |
carlos_nascimento08 | 4:5fe35852ace9 | 11 | /* These types must be 8-bit integer */ |
carlos_nascimento08 | 4:5fe35852ace9 | 12 | typedef signed char CHAR; |
carlos_nascimento08 | 4:5fe35852ace9 | 13 | typedef unsigned char UCHAR; |
carlos_nascimento08 | 4:5fe35852ace9 | 14 | typedef unsigned char BYTE; |
carlos_nascimento08 | 4:5fe35852ace9 | 15 | |
carlos_nascimento08 | 4:5fe35852ace9 | 16 | /* These types must be 16-bit integer */ |
carlos_nascimento08 | 4:5fe35852ace9 | 17 | typedef short SHORT; |
carlos_nascimento08 | 4:5fe35852ace9 | 18 | typedef unsigned short USHORT; |
carlos_nascimento08 | 4:5fe35852ace9 | 19 | typedef unsigned short WORD; |
carlos_nascimento08 | 4:5fe35852ace9 | 20 | |
carlos_nascimento08 | 4:5fe35852ace9 | 21 | /* These types must be 32-bit integer */ |
carlos_nascimento08 | 4:5fe35852ace9 | 22 | typedef long LONG; |
carlos_nascimento08 | 4:5fe35852ace9 | 23 | typedef unsigned long ULONG; |
carlos_nascimento08 | 4:5fe35852ace9 | 24 | typedef unsigned long DWORD; |
carlos_nascimento08 | 4:5fe35852ace9 | 25 | |
carlos_nascimento08 | 4:5fe35852ace9 | 26 | /* Boolean type */ |
carlos_nascimento08 | 4:5fe35852ace9 | 27 | typedef enum { FALSE = 0, TRUE } BOOL; |
carlos_nascimento08 | 4:5fe35852ace9 | 28 | |
carlos_nascimento08 | 4:5fe35852ace9 | 29 | #define _INTEGER |
carlos_nascimento08 | 4:5fe35852ace9 | 30 | #endif |