svn / FATFileSystem / trunk / integer.h

Revision 16, 0.7 kB (checked in by rolf.meyer@…, 3 years ago)

Finaly the FATFileSystem works on both targets ;-)
Sorry for the delay.

Line 
1/*-------------------------------------------*/
2/* Integer type definitions for FatFs module */
3/*-------------------------------------------*/
4
5#ifndef _INTEGER
6
7/* These types must be 16-bit, 32-bit or larger integer */
8typedef int             INT;
9typedef unsigned int    UINT;
10
11/* These types must be 8-bit integer */
12typedef signed char     CHAR;
13typedef unsigned char   UCHAR;
14typedef unsigned char   BYTE;
15
16/* These types must be 16-bit integer */
17typedef short           SHORT;
18typedef unsigned short  USHORT;
19typedef unsigned short  WORD;
20
21/* These types must be 32-bit integer */
22typedef long            LONG;
23typedef unsigned long   ULONG;
24typedef unsigned long   DWORD;
25
26/* Boolean type */
27typedef enum { FALSE = 0, TRUE } BOOL;
28
29#define _INTEGER
30#endif
Note: See TracBrowser for help on using the browser.