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.
Dependencies: mbed
SDFileSystem/FATFileSystem/ChaN/integer.h@21:d5b1160f349f, 2020-05-25 (annotated)
- Committer:
- KaifK
- Date:
- Mon May 25 00:55:38 2020 +0000
- Revision:
- 21:d5b1160f349f
SFX added, high score is now saved on SD card, testing compiled.; Code needs to be cleaned up a bit and organised.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
KaifK | 21:d5b1160f349f | 1 | /*-------------------------------------------*/ |
KaifK | 21:d5b1160f349f | 2 | /* Integer type definitions for FatFs module */ |
KaifK | 21:d5b1160f349f | 3 | /*-------------------------------------------*/ |
KaifK | 21:d5b1160f349f | 4 | |
KaifK | 21:d5b1160f349f | 5 | #ifndef _FF_INTEGER |
KaifK | 21:d5b1160f349f | 6 | #define _FF_INTEGER |
KaifK | 21:d5b1160f349f | 7 | |
KaifK | 21:d5b1160f349f | 8 | #ifdef _WIN32 /* Development platform */ |
KaifK | 21:d5b1160f349f | 9 | |
KaifK | 21:d5b1160f349f | 10 | #include <windows.h> |
KaifK | 21:d5b1160f349f | 11 | #include <tchar.h> |
KaifK | 21:d5b1160f349f | 12 | |
KaifK | 21:d5b1160f349f | 13 | #else /* Embedded platform */ |
KaifK | 21:d5b1160f349f | 14 | |
KaifK | 21:d5b1160f349f | 15 | /* This type MUST be 8-bit */ |
KaifK | 21:d5b1160f349f | 16 | typedef unsigned char BYTE; |
KaifK | 21:d5b1160f349f | 17 | |
KaifK | 21:d5b1160f349f | 18 | /* These types MUST be 16-bit */ |
KaifK | 21:d5b1160f349f | 19 | typedef short SHORT; |
KaifK | 21:d5b1160f349f | 20 | typedef unsigned short WORD; |
KaifK | 21:d5b1160f349f | 21 | typedef unsigned short WCHAR; |
KaifK | 21:d5b1160f349f | 22 | |
KaifK | 21:d5b1160f349f | 23 | /* These types MUST be 16-bit or 32-bit */ |
KaifK | 21:d5b1160f349f | 24 | typedef int INT; |
KaifK | 21:d5b1160f349f | 25 | typedef unsigned int UINT; |
KaifK | 21:d5b1160f349f | 26 | |
KaifK | 21:d5b1160f349f | 27 | /* These types MUST be 32-bit */ |
KaifK | 21:d5b1160f349f | 28 | typedef long LONG; |
KaifK | 21:d5b1160f349f | 29 | typedef unsigned long DWORD; |
KaifK | 21:d5b1160f349f | 30 | |
KaifK | 21:d5b1160f349f | 31 | #endif |
KaifK | 21:d5b1160f349f | 32 | |
KaifK | 21:d5b1160f349f | 33 | #endif |