LCD1289Serial_Ethenet

Dependencies:   EthernetInterface FatFileSystemCpp SDFileSystem mbed-rtos mbed

Committer:
shindo
Date:
Wed Nov 07 06:42:34 2012 +0000
Revision:
0:a5367e4d8591
LCD1289Serial_Ethenet

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shindo 0:a5367e4d8591 1 /*-------------------------------------------*/
shindo 0:a5367e4d8591 2 /* Integer type definitions for FatFs module */
shindo 0:a5367e4d8591 3 /*-------------------------------------------*/
shindo 0:a5367e4d8591 4
shindo 0:a5367e4d8591 5 #ifndef _INTEGER
shindo 0:a5367e4d8591 6 #define _INTEGER
shindo 0:a5367e4d8591 7
shindo 0:a5367e4d8591 8 #ifdef _WIN32 /* FatFs development platform */
shindo 0:a5367e4d8591 9
shindo 0:a5367e4d8591 10 #include <windows.h>
shindo 0:a5367e4d8591 11 #include <tchar.h>
shindo 0:a5367e4d8591 12
shindo 0:a5367e4d8591 13 #else /* Embedded platform */
shindo 0:a5367e4d8591 14
shindo 0:a5367e4d8591 15 /* These types must be 16-bit, 32-bit or larger integer */
shindo 0:a5367e4d8591 16 typedef int INT;
shindo 0:a5367e4d8591 17 typedef unsigned int UINT;
shindo 0:a5367e4d8591 18
shindo 0:a5367e4d8591 19 /* These types must be 8-bit integer */
shindo 0:a5367e4d8591 20 typedef char CHAR;
shindo 0:a5367e4d8591 21 typedef unsigned char UCHAR;
shindo 0:a5367e4d8591 22 typedef unsigned char BYTE;
shindo 0:a5367e4d8591 23
shindo 0:a5367e4d8591 24 /* These types must be 16-bit integer */
shindo 0:a5367e4d8591 25 typedef short SHORT;
shindo 0:a5367e4d8591 26 typedef unsigned short USHORT;
shindo 0:a5367e4d8591 27 typedef unsigned short WORD;
shindo 0:a5367e4d8591 28 typedef unsigned short WCHAR;
shindo 0:a5367e4d8591 29
shindo 0:a5367e4d8591 30 /* These types must be 32-bit integer */
shindo 0:a5367e4d8591 31 typedef long LONG;
shindo 0:a5367e4d8591 32 typedef unsigned long ULONG;
shindo 0:a5367e4d8591 33 typedef unsigned long DWORD;
shindo 0:a5367e4d8591 34
shindo 0:a5367e4d8591 35 #endif
shindo 0:a5367e4d8591 36
shindo 0:a5367e4d8591 37 #endif