My File System, no changes from official.

Fork of FATFileSystem by mbed official

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers integer.h Source File

integer.h

00001 /*-------------------------------------------*/
00002 /* Integer type definitions for FatFs module */
00003 /*-------------------------------------------*/
00004 
00005 #ifndef _FF_INTEGER
00006 #define _FF_INTEGER
00007 
00008 #ifdef _WIN32   /* Development platform */
00009 
00010 #include <windows.h>
00011 #include <tchar.h>
00012 
00013 #else           /* Embedded platform */
00014 
00015 /* This type MUST be 8-bit */
00016 typedef unsigned char   BYTE;
00017 
00018 /* These types MUST be 16-bit */
00019 typedef short           SHORT;
00020 typedef unsigned short  WORD;
00021 typedef unsigned short  WCHAR;
00022 
00023 /* These types MUST be 16-bit or 32-bit */
00024 //Would'nt Compile *****
00025 //typedef int               INT; // Not Used Anywhere
00026 typedef unsigned int    UINT;
00027 
00028 /* These types MUST be 32-bit */
00029 typedef long            LONG;
00030 typedef unsigned long   DWORD;
00031 
00032 #endif
00033 
00034 #endif