keita noda
/
2016_Sp_momoi_0611
ももいくん
Fork of 2016_Sp_momoi_taka by
FatFileSystem/integer.h@0:736c76a75def, 2015-04-30 (annotated)
- Committer:
- hirokimineshita
- Date:
- Thu Apr 30 05:59:05 2015 +0000
- Revision:
- 0:736c76a75def
2015/04/30 PM 2 upload
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 |