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
Fork of PS3conOut by
FatFileSystem/integer.h@0:0805c5a1b328, 2015-04-18 (annotated)
- Committer:
- ideguti
- Date:
- Sat Apr 18 06:27:36 2015 +0000
- Revision:
- 0:0805c5a1b328
koueki you no program
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ideguti | 0:0805c5a1b328 | 1 | /*-------------------------------------------*/ |
| ideguti | 0:0805c5a1b328 | 2 | /* Integer type definitions for FatFs module */ |
| ideguti | 0:0805c5a1b328 | 3 | /*-------------------------------------------*/ |
| ideguti | 0:0805c5a1b328 | 4 | |
| ideguti | 0:0805c5a1b328 | 5 | #ifndef _INTEGER |
| ideguti | 0:0805c5a1b328 | 6 | |
| ideguti | 0:0805c5a1b328 | 7 | /* These types must be 16-bit, 32-bit or larger integer */ |
| ideguti | 0:0805c5a1b328 | 8 | typedef int INT; |
| ideguti | 0:0805c5a1b328 | 9 | typedef unsigned int UINT; |
| ideguti | 0:0805c5a1b328 | 10 | |
| ideguti | 0:0805c5a1b328 | 11 | /* These types must be 8-bit integer */ |
| ideguti | 0:0805c5a1b328 | 12 | typedef signed char CHAR; |
| ideguti | 0:0805c5a1b328 | 13 | typedef unsigned char UCHAR; |
| ideguti | 0:0805c5a1b328 | 14 | typedef unsigned char BYTE; |
| ideguti | 0:0805c5a1b328 | 15 | |
| ideguti | 0:0805c5a1b328 | 16 | /* These types must be 16-bit integer */ |
| ideguti | 0:0805c5a1b328 | 17 | typedef short SHORT; |
| ideguti | 0:0805c5a1b328 | 18 | typedef unsigned short USHORT; |
| ideguti | 0:0805c5a1b328 | 19 | typedef unsigned short WORD; |
| ideguti | 0:0805c5a1b328 | 20 | |
| ideguti | 0:0805c5a1b328 | 21 | /* These types must be 32-bit integer */ |
| ideguti | 0:0805c5a1b328 | 22 | typedef long LONG; |
| ideguti | 0:0805c5a1b328 | 23 | typedef unsigned long ULONG; |
| ideguti | 0:0805c5a1b328 | 24 | typedef unsigned long DWORD; |
| ideguti | 0:0805c5a1b328 | 25 | |
| ideguti | 0:0805c5a1b328 | 26 | /* Boolean type */ |
| ideguti | 0:0805c5a1b328 | 27 | typedef enum { FALSE = 0, TRUE } BOOL; |
| ideguti | 0:0805c5a1b328 | 28 | |
| ideguti | 0:0805c5a1b328 | 29 | #define _INTEGER |
| ideguti | 0:0805c5a1b328 | 30 | #endif |
