JEK changes enabling proper recording of IMU/GPS datastrams - 02-APR-2013
Fork of GPS_Incremental by
FatFileSystem/integer.h@9:b45feb91ba38, 2013-04-19 (annotated)
- Committer:
- jekain314
- Date:
- Fri Apr 19 16:21:27 2013 +0000
- Revision:
- 9:b45feb91ba38
- Parent:
- 0:c746ee34feae
update to allow better imu gps data collection
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dannyman939 | 0:c746ee34feae | 1 | /*-------------------------------------------*/ |
dannyman939 | 0:c746ee34feae | 2 | /* Integer type definitions for FatFs module */ |
dannyman939 | 0:c746ee34feae | 3 | /*-------------------------------------------*/ |
dannyman939 | 0:c746ee34feae | 4 | |
dannyman939 | 0:c746ee34feae | 5 | #ifndef _INTEGER |
dannyman939 | 0:c746ee34feae | 6 | #define _INTEGER |
dannyman939 | 0:c746ee34feae | 7 | |
dannyman939 | 0:c746ee34feae | 8 | #ifdef _WIN32 /* FatFs development platform */ |
dannyman939 | 0:c746ee34feae | 9 | |
dannyman939 | 0:c746ee34feae | 10 | #include <windows.h> |
dannyman939 | 0:c746ee34feae | 11 | #include <tchar.h> |
dannyman939 | 0:c746ee34feae | 12 | |
dannyman939 | 0:c746ee34feae | 13 | #else /* Embedded platform */ |
dannyman939 | 0:c746ee34feae | 14 | |
dannyman939 | 0:c746ee34feae | 15 | /* These types must be 16-bit, 32-bit or larger integer */ |
dannyman939 | 0:c746ee34feae | 16 | typedef int INT; |
dannyman939 | 0:c746ee34feae | 17 | typedef unsigned int UINT; |
dannyman939 | 0:c746ee34feae | 18 | |
dannyman939 | 0:c746ee34feae | 19 | /* These types must be 8-bit integer */ |
dannyman939 | 0:c746ee34feae | 20 | typedef char CHAR; |
dannyman939 | 0:c746ee34feae | 21 | typedef unsigned char UCHAR; |
dannyman939 | 0:c746ee34feae | 22 | typedef unsigned char BYTE; |
dannyman939 | 0:c746ee34feae | 23 | |
dannyman939 | 0:c746ee34feae | 24 | /* These types must be 16-bit integer */ |
dannyman939 | 0:c746ee34feae | 25 | typedef short SHORT; |
dannyman939 | 0:c746ee34feae | 26 | typedef unsigned short USHORT; |
dannyman939 | 0:c746ee34feae | 27 | typedef unsigned short WORD; |
dannyman939 | 0:c746ee34feae | 28 | typedef unsigned short WCHAR; |
dannyman939 | 0:c746ee34feae | 29 | |
dannyman939 | 0:c746ee34feae | 30 | /* These types must be 32-bit integer */ |
dannyman939 | 0:c746ee34feae | 31 | typedef long LONG; |
dannyman939 | 0:c746ee34feae | 32 | typedef unsigned long ULONG; |
dannyman939 | 0:c746ee34feae | 33 | typedef unsigned long DWORD; |
dannyman939 | 0:c746ee34feae | 34 | |
dannyman939 | 0:c746ee34feae | 35 | #endif |
dannyman939 | 0:c746ee34feae | 36 | |
dannyman939 | 0:c746ee34feae | 37 | #endif |