Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SDFileSystem/FATFileSystem/ChaN/integer.h@0:92b180c8d407, 2021-01-05 (annotated)
- Committer:
- jamesheavey
- Date:
- Tue Jan 05 01:14:11 2021 +0000
- Revision:
- 0:92b180c8d407
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jamesheavey | 0:92b180c8d407 | 1 | /*-------------------------------------------*/ |
jamesheavey | 0:92b180c8d407 | 2 | /* Integer type definitions for FatFs module */ |
jamesheavey | 0:92b180c8d407 | 3 | /*-------------------------------------------*/ |
jamesheavey | 0:92b180c8d407 | 4 | |
jamesheavey | 0:92b180c8d407 | 5 | #ifndef _FF_INTEGER |
jamesheavey | 0:92b180c8d407 | 6 | #define _FF_INTEGER |
jamesheavey | 0:92b180c8d407 | 7 | |
jamesheavey | 0:92b180c8d407 | 8 | #ifdef _WIN32 /* Development platform */ |
jamesheavey | 0:92b180c8d407 | 9 | |
jamesheavey | 0:92b180c8d407 | 10 | #include <windows.h> |
jamesheavey | 0:92b180c8d407 | 11 | #include <tchar.h> |
jamesheavey | 0:92b180c8d407 | 12 | |
jamesheavey | 0:92b180c8d407 | 13 | #else /* Embedded platform */ |
jamesheavey | 0:92b180c8d407 | 14 | |
jamesheavey | 0:92b180c8d407 | 15 | /* This type MUST be 8-bit */ |
jamesheavey | 0:92b180c8d407 | 16 | typedef unsigned char BYTE; |
jamesheavey | 0:92b180c8d407 | 17 | |
jamesheavey | 0:92b180c8d407 | 18 | /* These types MUST be 16-bit */ |
jamesheavey | 0:92b180c8d407 | 19 | typedef short SHORT; |
jamesheavey | 0:92b180c8d407 | 20 | typedef unsigned short WORD; |
jamesheavey | 0:92b180c8d407 | 21 | typedef unsigned short WCHAR; |
jamesheavey | 0:92b180c8d407 | 22 | |
jamesheavey | 0:92b180c8d407 | 23 | /* These types MUST be 16-bit or 32-bit */ |
jamesheavey | 0:92b180c8d407 | 24 | typedef int INT; |
jamesheavey | 0:92b180c8d407 | 25 | typedef unsigned int UINT; |
jamesheavey | 0:92b180c8d407 | 26 | |
jamesheavey | 0:92b180c8d407 | 27 | /* These types MUST be 32-bit */ |
jamesheavey | 0:92b180c8d407 | 28 | typedef long LONG; |
jamesheavey | 0:92b180c8d407 | 29 | typedef unsigned long DWORD; |
jamesheavey | 0:92b180c8d407 | 30 | |
jamesheavey | 0:92b180c8d407 | 31 | #endif |
jamesheavey | 0:92b180c8d407 | 32 | |
jamesheavey | 0:92b180c8d407 | 33 | #endif |