![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
temp
Dependencies: mbed SDFileSystem MS5607 ADXL345_I2C FATFileSystem
SDFileSystem/FATFileSystem/ChaN/integer.h@0:c88c3b616c00, 2020-03-16 (annotated)
- Committer:
- IKobayashi
- Date:
- Mon Mar 16 23:37:42 2020 +0900
- Revision:
- 0:c88c3b616c00
copy
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
IKobayashi | 0:c88c3b616c00 | 1 | /*-------------------------------------------*/ |
IKobayashi | 0:c88c3b616c00 | 2 | /* Integer type definitions for FatFs module */ |
IKobayashi | 0:c88c3b616c00 | 3 | /*-------------------------------------------*/ |
IKobayashi | 0:c88c3b616c00 | 4 | |
IKobayashi | 0:c88c3b616c00 | 5 | #ifndef _FF_INTEGER |
IKobayashi | 0:c88c3b616c00 | 6 | #define _FF_INTEGER |
IKobayashi | 0:c88c3b616c00 | 7 | |
IKobayashi | 0:c88c3b616c00 | 8 | #ifdef _WIN32 /* Development platform */ |
IKobayashi | 0:c88c3b616c00 | 9 | |
IKobayashi | 0:c88c3b616c00 | 10 | #include <windows.h> |
IKobayashi | 0:c88c3b616c00 | 11 | #include <tchar.h> |
IKobayashi | 0:c88c3b616c00 | 12 | |
IKobayashi | 0:c88c3b616c00 | 13 | #else /* Embedded platform */ |
IKobayashi | 0:c88c3b616c00 | 14 | |
IKobayashi | 0:c88c3b616c00 | 15 | /* This type MUST be 8-bit */ |
IKobayashi | 0:c88c3b616c00 | 16 | typedef unsigned char BYTE; |
IKobayashi | 0:c88c3b616c00 | 17 | |
IKobayashi | 0:c88c3b616c00 | 18 | /* These types MUST be 16-bit */ |
IKobayashi | 0:c88c3b616c00 | 19 | typedef short SHORT; |
IKobayashi | 0:c88c3b616c00 | 20 | typedef unsigned short WORD; |
IKobayashi | 0:c88c3b616c00 | 21 | typedef unsigned short WCHAR; |
IKobayashi | 0:c88c3b616c00 | 22 | |
IKobayashi | 0:c88c3b616c00 | 23 | /* These types MUST be 16-bit or 32-bit */ |
IKobayashi | 0:c88c3b616c00 | 24 | typedef int INT; |
IKobayashi | 0:c88c3b616c00 | 25 | typedef unsigned int UINT; |
IKobayashi | 0:c88c3b616c00 | 26 | |
IKobayashi | 0:c88c3b616c00 | 27 | /* These types MUST be 32-bit */ |
IKobayashi | 0:c88c3b616c00 | 28 | typedef long LONG; |
IKobayashi | 0:c88c3b616c00 | 29 | typedef unsigned long DWORD; |
IKobayashi | 0:c88c3b616c00 | 30 | |
IKobayashi | 0:c88c3b616c00 | 31 | #endif |
IKobayashi | 0:c88c3b616c00 | 32 | |
IKobayashi | 0:c88c3b616c00 | 33 | #endif |