MAVRK Embedded Software 0.91
Software Libraries for the MAVRK motherboard and related components

integer.h

Go to the documentation of this file.
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 // Surpress warning for multiple defs of the same type.
00016 // This is done so the FatFs can be a stanalone modular entity.
00017 #ifdef __IAR_SYSTEMS_ICC__
00018 #pragma diag_suppress=Pe301
00019 #endif
00020 #ifdef __TI_COMPILER_VERSION__
00021 #pragma diag_suppress 303
00022 #endif
00023 
00024 /* These types must be 16-bit, 32-bit or larger integer */
00025 typedef int             INT;
00026 typedef unsigned int    UINT;
00027 
00028 /* These types must be 8-bit integer */
00029 typedef char             CHAR;
00030 typedef unsigned char    UCHAR;
00031 //typedef unsigned char    unsigned char;
00032 
00033 /* These types must be 16-bit integer */
00034 typedef short            SHORT;
00035 typedef unsigned short   USHORT;
00036 typedef unsigned int     WORD;
00037 typedef unsigned short   WCHAR;
00038 
00039 /* These types must be 32-bit integer */
00040 typedef long             LONG;
00041 typedef unsigned long    ULONG;
00042 typedef unsigned long    DWORD;
00043 
00044 #endif
00045 
00046 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines