aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/TempDataLogger/Lib/FATFs/integer.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-07-13 04:32:33 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-07-13 04:32:33 +0000
commitac61b81a0b20b86a4865d5e2802f704ad1075541 (patch)
treed317751beab3b669d931f9bbff83db8680e510a9 /Projects/TempDataLogger/Lib/FATFs/integer.h
parentd3e00ce1eca6a7736f30b2e93992d0d5a6161de6 (diff)
downloadlufa-ac61b81a0b20b86a4865d5e2802f704ad1075541.tar.gz
lufa-ac61b81a0b20b86a4865d5e2802f704ad1075541.tar.bz2
lufa-ac61b81a0b20b86a4865d5e2802f704ad1075541.zip
Add first lot of AVRStudio project files for some of the library projects.
Diffstat (limited to 'Projects/TempDataLogger/Lib/FATFs/integer.h')
-rw-r--r--Projects/TempDataLogger/Lib/FATFs/integer.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/Projects/TempDataLogger/Lib/FATFs/integer.h b/Projects/TempDataLogger/Lib/FATFs/integer.h
new file mode 100644
index 000000000..1bc381cc0
--- /dev/null
+++ b/Projects/TempDataLogger/Lib/FATFs/integer.h
@@ -0,0 +1,39 @@
+/*-------------------------------------------*/
+/* Integer type definitions for FatFs module */
+/*-------------------------------------------*/
+
+#ifndef _INTEGER
+#define _INTEGER
+
+#ifdef _WIN32 /* FatFs development platform */
+
+#include <windows.h>
+#include <tchar.h>
+
+#else /* Embedded platform */
+
+/* These types must be 16-bit, 32-bit or larger integer */
+typedef int INT;
+typedef unsigned int UINT;
+
+/* These types must be 8-bit integer */
+typedef char CHAR;
+typedef unsigned char UCHAR;
+typedef unsigned char BYTE;
+
+/* These types must be 16-bit integer */
+typedef short SHORT;
+typedef unsigned short USHORT;
+typedef unsigned short WORD;
+typedef unsigned short WCHAR;
+
+/* These types must be 32-bit integer */
+typedef long LONG;
+typedef unsigned long ULONG;
+typedef unsigned long DWORD;
+
+typedef unsigned char BOOL;
+
+#endif
+
+#endif