old FATFilesystem

Dependents:   SDFileSystem

Fork of FatFileSystem by mbed unsupported

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers integer.h Source File

integer.h

00001 /*-------------------------------------------*/
00002 /* Integer type definitions for FatFs module */
00003 /*-------------------------------------------*/
00004 
00005 #ifndef _INTEGER
00006 
00007 /* These types must be 16-bit, 32-bit or larger integer */
00008 typedef int                INT;
00009 typedef unsigned int    UINT;
00010 
00011 /* These types must be 8-bit integer */
00012 typedef signed char        CHAR;
00013 typedef unsigned char    UCHAR;
00014 typedef unsigned char    BYTE;
00015 
00016 /* These types must be 16-bit integer */
00017 typedef short            SHORT;
00018 typedef unsigned short    USHORT;
00019 typedef unsigned short    WORD;
00020 
00021 /* These types must be 32-bit integer */
00022 typedef long            LONG;
00023 typedef unsigned long    ULONG;
00024 typedef unsigned long    DWORD;
00025 
00026 /* Boolean type */
00027 typedef enum { FALSE = 0, TRUE } BOOL;
00028 
00029 #define _INTEGER
00030 #endif