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