CARME-M4 BSP  V1.5
integer.h
Go to the documentation of this file.
1 #ifndef _FF_INTEGER
2 #define _FF_INTEGER
3 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif /* __cplusplus */
40 
41 #ifdef _WIN32 /* FatFs development platform */
42 
43 #include <windows.h>
44 #include <tchar.h>
45 
46 #else /* Embedded platform */
47 
48 /* This type MUST be 8 bit */
49 typedef unsigned char BYTE;
50 
51 /* These types MUST be 16 bit */
52 typedef short SHORT;
53 typedef unsigned short WORD;
54 typedef unsigned short WCHAR;
55 
56 /* These types MUST be 16 bit or 32 bit */
57 typedef int INT;
58 typedef unsigned int UINT;
59 
60 /* These types MUST be 32 bit */
61 typedef long LONG;
62 typedef unsigned long DWORD;
63 
64 #endif
65 
66 #ifdef __cplusplus
67 }
68 #endif /* __cplusplus */
69 
75 #endif /* _FF_INTEGER */