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: FRDM_MMA8451Q KL46Z-USBHost MAG3110 SocketModem TSI mbed FATFileSystem
Fork of AxedaGo-Freescal_FRDM-KL46Z by
KL46Z-USBHost/USBHostMSD/FATFileSystem/ChaN/integer.h@2:2f9019c5a9fc, 2014-07-02 (annotated)
- Committer:
- AxedaCorp
- Date:
- Wed Jul 02 19:57:37 2014 +0000
- Revision:
- 2:2f9019c5a9fc
- Parent:
- 0:65004368569c
ip switch
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AxedaCorp | 0:65004368569c | 1 | /*-------------------------------------------*/ |
AxedaCorp | 0:65004368569c | 2 | /* Integer type definitions for FatFs module */ |
AxedaCorp | 0:65004368569c | 3 | /*-------------------------------------------*/ |
AxedaCorp | 0:65004368569c | 4 | |
AxedaCorp | 0:65004368569c | 5 | #ifndef _INTEGER |
AxedaCorp | 0:65004368569c | 6 | #define _INTEGER |
AxedaCorp | 0:65004368569c | 7 | |
AxedaCorp | 0:65004368569c | 8 | #ifdef _WIN32 /* FatFs development platform */ |
AxedaCorp | 0:65004368569c | 9 | |
AxedaCorp | 0:65004368569c | 10 | #include <windows.h> |
AxedaCorp | 0:65004368569c | 11 | #include <tchar.h> |
AxedaCorp | 0:65004368569c | 12 | |
AxedaCorp | 0:65004368569c | 13 | #else /* Embedded platform */ |
AxedaCorp | 0:65004368569c | 14 | |
AxedaCorp | 0:65004368569c | 15 | /* These types must be 16-bit, 32-bit or larger integer */ |
AxedaCorp | 0:65004368569c | 16 | typedef int INT; |
AxedaCorp | 0:65004368569c | 17 | typedef unsigned int UINT; |
AxedaCorp | 0:65004368569c | 18 | |
AxedaCorp | 0:65004368569c | 19 | /* These types must be 8-bit integer */ |
AxedaCorp | 0:65004368569c | 20 | typedef char CHAR; |
AxedaCorp | 0:65004368569c | 21 | typedef unsigned char UCHAR; |
AxedaCorp | 0:65004368569c | 22 | typedef unsigned char BYTE; |
AxedaCorp | 0:65004368569c | 23 | |
AxedaCorp | 0:65004368569c | 24 | /* These types must be 16-bit integer */ |
AxedaCorp | 0:65004368569c | 25 | typedef short SHORT; |
AxedaCorp | 0:65004368569c | 26 | typedef unsigned short USHORT; |
AxedaCorp | 0:65004368569c | 27 | typedef unsigned short WORD; |
AxedaCorp | 0:65004368569c | 28 | typedef unsigned short WCHAR; |
AxedaCorp | 0:65004368569c | 29 | |
AxedaCorp | 0:65004368569c | 30 | /* These types must be 32-bit integer */ |
AxedaCorp | 0:65004368569c | 31 | typedef long LONG; |
AxedaCorp | 0:65004368569c | 32 | typedef unsigned long ULONG; |
AxedaCorp | 0:65004368569c | 33 | typedef unsigned long DWORD; |
AxedaCorp | 0:65004368569c | 34 | |
AxedaCorp | 0:65004368569c | 35 | #endif |
AxedaCorp | 0:65004368569c | 36 | |
AxedaCorp | 0:65004368569c | 37 | #endif |