inisat_dev
/
inisat4nucleo
SDFileSystem/integer.h@4:34a8e94c6fd5, 2020-10-27 (annotated)
- Committer:
- eric11fr
- Date:
- Tue Oct 27 22:22:14 2020 +0000
- Revision:
- 4:34a8e94c6fd5
- Parent:
- 0:b8bade04f24f
test menu via xbee
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
eric11fr | 0:b8bade04f24f | 1 | /*-------------------------------------------*/ |
eric11fr | 0:b8bade04f24f | 2 | /* Integer type definitions for FatFs module */ |
eric11fr | 0:b8bade04f24f | 3 | /*-------------------------------------------*/ |
eric11fr | 0:b8bade04f24f | 4 | |
eric11fr | 0:b8bade04f24f | 5 | #ifndef _FF_INTEGER |
eric11fr | 0:b8bade04f24f | 6 | #define _FF_INTEGER |
eric11fr | 0:b8bade04f24f | 7 | |
eric11fr | 0:b8bade04f24f | 8 | #ifdef _WIN32 /* Development platform */ |
eric11fr | 0:b8bade04f24f | 9 | |
eric11fr | 0:b8bade04f24f | 10 | #include <windows.h> |
eric11fr | 0:b8bade04f24f | 11 | #include <tchar.h> |
eric11fr | 0:b8bade04f24f | 12 | |
eric11fr | 0:b8bade04f24f | 13 | #else /* Embedded platform */ |
eric11fr | 0:b8bade04f24f | 14 | |
eric11fr | 0:b8bade04f24f | 15 | /* This type MUST be 8-bit */ |
eric11fr | 0:b8bade04f24f | 16 | typedef unsigned char BYTE; |
eric11fr | 0:b8bade04f24f | 17 | |
eric11fr | 0:b8bade04f24f | 18 | /* These types MUST be 16-bit */ |
eric11fr | 0:b8bade04f24f | 19 | typedef short SHORT; |
eric11fr | 0:b8bade04f24f | 20 | typedef unsigned short WORD; |
eric11fr | 0:b8bade04f24f | 21 | typedef unsigned short WCHAR; |
eric11fr | 0:b8bade04f24f | 22 | |
eric11fr | 0:b8bade04f24f | 23 | /* These types MUST be 16-bit or 32-bit */ |
eric11fr | 0:b8bade04f24f | 24 | typedef int INT; |
eric11fr | 0:b8bade04f24f | 25 | typedef unsigned int UINT; |
eric11fr | 0:b8bade04f24f | 26 | |
eric11fr | 0:b8bade04f24f | 27 | /* These types MUST be 32-bit */ |
eric11fr | 0:b8bade04f24f | 28 | typedef long LONG; |
eric11fr | 0:b8bade04f24f | 29 | typedef unsigned long DWORD; |
eric11fr | 0:b8bade04f24f | 30 | |
eric11fr | 0:b8bade04f24f | 31 | #endif |
eric11fr | 0:b8bade04f24f | 32 | |
eric11fr | 0:b8bade04f24f | 33 | #endif |