ECE 2036 Project

Dependencies:   mbed wave_player 4DGL-uLCD-SE

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers <title>integer.h Source File</title>

integer.h

00001 /*-------------------------------------------*/
00002 /* Integer type definitions for FatFs module */
00003 /*-------------------------------------------*/
00004 
00005 #ifndef _INTEGER
00006 #define _INTEGER
00007 
00008 #ifdef _WIN32    /* FatFs development platform */
00009 
00010 #include <windows.h>
00011 #include <tchar.h>
00012 
00013 #else            /* Embedded platform */
00014 
00015 /* These types must be 16-bit, 32-bit or larger integer */
00016 typedef int             INT;
00017 typedef unsigned int    UINT;
00018 
00019 /* These types must be 8-bit integer */
00020 typedef char            CHAR;
00021 typedef unsigned char   UCHAR;
00022 typedef unsigned char   BYTE;
00023 
00024 /* These types must be 16-bit integer */
00025 typedef short           SHORT;
00026 typedef unsigned short  USHORT;
00027 typedef unsigned short  WORD;
00028 typedef unsigned short  WCHAR;
00029 
00030 /* These types must be 32-bit integer */
00031 typedef long            LONG;
00032 typedef unsigned long   ULONG;
00033 typedef unsigned long   DWORD;
00034 
00035 #endif
00036 
00037 #endif