![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
主導機 mbed用のプログラムです 改良しました
Dependencies: mbed
Fork of F3RC_syudou_master by
FatFileSystem/integer.h@19:a3f57c9833b6, 2017-08-23 (annotated)
- Committer:
- yuto17320508
- Date:
- Wed Aug 23 10:10:26 2017 +0000
- Revision:
- 19:a3f57c9833b6
- Parent:
- 0:736c76a75def
a
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 |