test fork
Dependencies: SPI_TFTx2 SPI_TFTx2_ILI9341 TFT_fonts TOUCH_TFTx2 mbed
Fork of CANary_9341 by
CHAN_FS/integer.h@109:3e6f0e8fca0d, 2013-06-30 (annotated)
- Committer:
- TickTock
- Date:
- Sun Jun 30 17:52:58 2013 +0000
- Branch:
- Metric
- Revision:
- 109:3e6f0e8fca0d
Change filesystem library. Got logging and playback working.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
TickTock | 109:3e6f0e8fca0d | 1 | /*-------------------------------------------*/ |
TickTock | 109:3e6f0e8fca0d | 2 | /* Integer type definitions for FatFs module */ |
TickTock | 109:3e6f0e8fca0d | 3 | /*-------------------------------------------*/ |
TickTock | 109:3e6f0e8fca0d | 4 | |
TickTock | 109:3e6f0e8fca0d | 5 | #ifndef _INTEGER |
TickTock | 109:3e6f0e8fca0d | 6 | |
TickTock | 109:3e6f0e8fca0d | 7 | #if 0 |
TickTock | 109:3e6f0e8fca0d | 8 | #include <windows.h> |
TickTock | 109:3e6f0e8fca0d | 9 | #else |
TickTock | 109:3e6f0e8fca0d | 10 | |
TickTock | 109:3e6f0e8fca0d | 11 | /* These types must be 16-bit, 32-bit or larger integer */ |
TickTock | 109:3e6f0e8fca0d | 12 | typedef int INT; |
TickTock | 109:3e6f0e8fca0d | 13 | typedef unsigned int UINT; |
TickTock | 109:3e6f0e8fca0d | 14 | |
TickTock | 109:3e6f0e8fca0d | 15 | /* These types must be 8-bit integer */ |
TickTock | 109:3e6f0e8fca0d | 16 | |
TickTock | 109:3e6f0e8fca0d | 17 | #define CHAR char |
TickTock | 109:3e6f0e8fca0d | 18 | //typedef signed char CHAR; |
TickTock | 109:3e6f0e8fca0d | 19 | typedef unsigned char UCHAR; |
TickTock | 109:3e6f0e8fca0d | 20 | typedef unsigned char BYTE; |
TickTock | 109:3e6f0e8fca0d | 21 | |
TickTock | 109:3e6f0e8fca0d | 22 | /* These types must be 16-bit integer */ |
TickTock | 109:3e6f0e8fca0d | 23 | typedef short SHORT; |
TickTock | 109:3e6f0e8fca0d | 24 | typedef unsigned short USHORT; |
TickTock | 109:3e6f0e8fca0d | 25 | typedef unsigned short WORD; |
TickTock | 109:3e6f0e8fca0d | 26 | typedef unsigned short WCHAR; |
TickTock | 109:3e6f0e8fca0d | 27 | |
TickTock | 109:3e6f0e8fca0d | 28 | /* These types must be 32-bit integer */ |
TickTock | 109:3e6f0e8fca0d | 29 | typedef long LONG; |
TickTock | 109:3e6f0e8fca0d | 30 | typedef unsigned long ULONG; |
TickTock | 109:3e6f0e8fca0d | 31 | typedef unsigned long DWORD; |
TickTock | 109:3e6f0e8fca0d | 32 | |
TickTock | 109:3e6f0e8fca0d | 33 | /* Boolean type */ |
TickTock | 109:3e6f0e8fca0d | 34 | typedef enum { FALSE = 0, TRUE } BOOL; |
TickTock | 109:3e6f0e8fca0d | 35 | |
TickTock | 109:3e6f0e8fca0d | 36 | #endif |
TickTock | 109:3e6f0e8fca0d | 37 | |
TickTock | 109:3e6f0e8fca0d | 38 | #define _INTEGER |
TickTock | 109:3e6f0e8fca0d | 39 | #endif |