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.
FATFileSystem/ChaN/integer.h@0:964d386ab059, 2020-11-09 (annotated)
- Committer:
- markschwarzer
- Date:
- Mon Nov 09 14:25:13 2020 +0000
- Revision:
- 0:964d386ab059
logged data in SD card
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| markschwarzer | 0:964d386ab059 | 1 | /*-------------------------------------------*/ |
| markschwarzer | 0:964d386ab059 | 2 | /* Integer type definitions for FatFs module */ |
| markschwarzer | 0:964d386ab059 | 3 | /*-------------------------------------------*/ |
| markschwarzer | 0:964d386ab059 | 4 | |
| markschwarzer | 0:964d386ab059 | 5 | #ifndef _FF_INTEGER |
| markschwarzer | 0:964d386ab059 | 6 | #define _FF_INTEGER |
| markschwarzer | 0:964d386ab059 | 7 | |
| markschwarzer | 0:964d386ab059 | 8 | #ifdef _WIN32 /* Development platform */ |
| markschwarzer | 0:964d386ab059 | 9 | |
| markschwarzer | 0:964d386ab059 | 10 | #include <windows.h> |
| markschwarzer | 0:964d386ab059 | 11 | #include <tchar.h> |
| markschwarzer | 0:964d386ab059 | 12 | |
| markschwarzer | 0:964d386ab059 | 13 | #else /* Embedded platform */ |
| markschwarzer | 0:964d386ab059 | 14 | |
| markschwarzer | 0:964d386ab059 | 15 | /* This type MUST be 8-bit */ |
| markschwarzer | 0:964d386ab059 | 16 | typedef unsigned char BYTE; |
| markschwarzer | 0:964d386ab059 | 17 | |
| markschwarzer | 0:964d386ab059 | 18 | /* These types MUST be 16-bit */ |
| markschwarzer | 0:964d386ab059 | 19 | typedef short SHORT; |
| markschwarzer | 0:964d386ab059 | 20 | typedef unsigned short WORD; |
| markschwarzer | 0:964d386ab059 | 21 | typedef unsigned short WCHAR; |
| markschwarzer | 0:964d386ab059 | 22 | |
| markschwarzer | 0:964d386ab059 | 23 | /* These types MUST be 16-bit or 32-bit */ |
| markschwarzer | 0:964d386ab059 | 24 | typedef int INT; |
| markschwarzer | 0:964d386ab059 | 25 | typedef unsigned int UINT; |
| markschwarzer | 0:964d386ab059 | 26 | |
| markschwarzer | 0:964d386ab059 | 27 | /* These types MUST be 32-bit */ |
| markschwarzer | 0:964d386ab059 | 28 | typedef long LONG; |
| markschwarzer | 0:964d386ab059 | 29 | typedef unsigned long DWORD; |
| markschwarzer | 0:964d386ab059 | 30 | |
| markschwarzer | 0:964d386ab059 | 31 | #endif |
| markschwarzer | 0:964d386ab059 | 32 | |
| markschwarzer | 0:964d386ab059 | 33 | #endif |
