Dependencies:   PinDetect TextLCD mbed mRotaryEncoder

Committer:
cicklaus
Date:
Mon Feb 13 02:11:20 2012 +0000
Revision:
0:afb2650fb49a

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
cicklaus 0:afb2650fb49a 1 //Modified by Thomas Hamilton, Copyright 2010
cicklaus 0:afb2650fb49a 2
cicklaus 0:afb2650fb49a 3 /*--------------------------------------------------------------------*/
cicklaus 0:afb2650fb49a 4 /* Integer type definitions for FatFs module R0.08 (C)ChaN, 2010 */
cicklaus 0:afb2650fb49a 5 /*--------------------------------------------------------------------*/
cicklaus 0:afb2650fb49a 6
cicklaus 0:afb2650fb49a 7 #ifndef _INTEGER
cicklaus 0:afb2650fb49a 8 #define _INTEGER
cicklaus 0:afb2650fb49a 9
cicklaus 0:afb2650fb49a 10 #include "stdint.h"
cicklaus 0:afb2650fb49a 11
cicklaus 0:afb2650fb49a 12 /* These types must be 16-bit, 32-bit or larger integer */
cicklaus 0:afb2650fb49a 13 typedef int INT;
cicklaus 0:afb2650fb49a 14 typedef unsigned int UINT;
cicklaus 0:afb2650fb49a 15
cicklaus 0:afb2650fb49a 16 /* These types must be 8-bit integer */
cicklaus 0:afb2650fb49a 17 typedef char CHAR;
cicklaus 0:afb2650fb49a 18 typedef unsigned char UCHAR;
cicklaus 0:afb2650fb49a 19 typedef unsigned char BYTE;
cicklaus 0:afb2650fb49a 20
cicklaus 0:afb2650fb49a 21 /* These types must be 16-bit integer */
cicklaus 0:afb2650fb49a 22 typedef short SHORT;
cicklaus 0:afb2650fb49a 23 typedef unsigned short USHORT;
cicklaus 0:afb2650fb49a 24 typedef unsigned short WORD;
cicklaus 0:afb2650fb49a 25 typedef unsigned short WCHAR;
cicklaus 0:afb2650fb49a 26
cicklaus 0:afb2650fb49a 27 /* These types must be 32-bit integer */
cicklaus 0:afb2650fb49a 28 typedef long LONG;
cicklaus 0:afb2650fb49a 29 typedef unsigned long ULONG;
cicklaus 0:afb2650fb49a 30 typedef unsigned long DWORD;
cicklaus 0:afb2650fb49a 31
cicklaus 0:afb2650fb49a 32 /* Boolean type */
cicklaus 0:afb2650fb49a 33 typedef enum { FALSE = 0, TRUE } BOOL;
cicklaus 0:afb2650fb49a 34
cicklaus 0:afb2650fb49a 35 #endif