Dependencies:   mbed

Committer:
simon
Date:
Thu Jan 12 12:59:33 2012 +0000
Revision:
1:208803a150b2
Parent:
0:560a6744936c
fix on line 61 of diskio, sector -> s

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon 0:560a6744936c 1 /*-------------------------------------------*/
simon 0:560a6744936c 2 /* Integer type definitions for FatFs module */
simon 0:560a6744936c 3 /*-------------------------------------------*/
simon 0:560a6744936c 4
simon 0:560a6744936c 5 #ifndef _INTEGER
simon 0:560a6744936c 6
simon 0:560a6744936c 7 /* These types must be 16-bit, 32-bit or larger integer */
simon 0:560a6744936c 8 typedef int INT;
simon 0:560a6744936c 9 typedef unsigned int UINT;
simon 0:560a6744936c 10
simon 0:560a6744936c 11 /* These types must be 8-bit integer */
simon 0:560a6744936c 12 typedef signed char CHAR;
simon 0:560a6744936c 13 typedef unsigned char UCHAR;
simon 0:560a6744936c 14 typedef unsigned char BYTE;
simon 0:560a6744936c 15
simon 0:560a6744936c 16 /* These types must be 16-bit integer */
simon 0:560a6744936c 17 typedef short SHORT;
simon 0:560a6744936c 18 typedef unsigned short USHORT;
simon 0:560a6744936c 19 typedef unsigned short WORD;
simon 0:560a6744936c 20
simon 0:560a6744936c 21 /* These types must be 32-bit integer */
simon 0:560a6744936c 22 typedef long LONG;
simon 0:560a6744936c 23 typedef unsigned long ULONG;
simon 0:560a6744936c 24 typedef unsigned long DWORD;
simon 0:560a6744936c 25
simon 0:560a6744936c 26 /* Boolean type */
simon 0:560a6744936c 27 typedef enum { FALSE = 0, TRUE } BOOL;
simon 0:560a6744936c 28
simon 0:560a6744936c 29 #define _INTEGER
simon 0:560a6744936c 30 #endif