keita noda
/
2016_Sp_momoi_0611
ももいくん
Fork of 2016_Sp_momoi_taka by
FatFileSystem/integer.h@13:9e04b53e875a, 2016-06-10 (annotated)
- Committer:
- abcdefgh
- Date:
- Fri Jun 10 17:27:13 2016 +0000
- Revision:
- 13:9e04b53e875a
- Parent:
- 0:736c76a75def
2016/06/10
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hirokimineshita | 0:736c76a75def | 1 | /*-------------------------------------------*/ |
hirokimineshita | 0:736c76a75def | 2 | /* Integer type definitions for FatFs module */ |
hirokimineshita | 0:736c76a75def | 3 | /*-------------------------------------------*/ |
hirokimineshita | 0:736c76a75def | 4 | |
hirokimineshita | 0:736c76a75def | 5 | #ifndef _INTEGER |
hirokimineshita | 0:736c76a75def | 6 | |
hirokimineshita | 0:736c76a75def | 7 | /* These types must be 16-bit, 32-bit or larger integer */ |
hirokimineshita | 0:736c76a75def | 8 | typedef int INT; |
hirokimineshita | 0:736c76a75def | 9 | typedef unsigned int UINT; |
hirokimineshita | 0:736c76a75def | 10 | |
hirokimineshita | 0:736c76a75def | 11 | /* These types must be 8-bit integer */ |
hirokimineshita | 0:736c76a75def | 12 | typedef signed char CHAR; |
hirokimineshita | 0:736c76a75def | 13 | typedef unsigned char UCHAR; |
hirokimineshita | 0:736c76a75def | 14 | typedef unsigned char BYTE; |
hirokimineshita | 0:736c76a75def | 15 | |
hirokimineshita | 0:736c76a75def | 16 | /* These types must be 16-bit integer */ |
hirokimineshita | 0:736c76a75def | 17 | typedef short SHORT; |
hirokimineshita | 0:736c76a75def | 18 | typedef unsigned short USHORT; |
hirokimineshita | 0:736c76a75def | 19 | typedef unsigned short WORD; |
hirokimineshita | 0:736c76a75def | 20 | |
hirokimineshita | 0:736c76a75def | 21 | /* These types must be 32-bit integer */ |
hirokimineshita | 0:736c76a75def | 22 | typedef long LONG; |
hirokimineshita | 0:736c76a75def | 23 | typedef unsigned long ULONG; |
hirokimineshita | 0:736c76a75def | 24 | typedef unsigned long DWORD; |
hirokimineshita | 0:736c76a75def | 25 | |
hirokimineshita | 0:736c76a75def | 26 | /* Boolean type */ |
hirokimineshita | 0:736c76a75def | 27 | typedef enum { FALSE = 0, TRUE } BOOL; |
hirokimineshita | 0:736c76a75def | 28 | |
hirokimineshita | 0:736c76a75def | 29 | #define _INTEGER |
hirokimineshita | 0:736c76a75def | 30 | #endif |