Subversion Repositories svnkaklik

Rev

Details | Last modification | View Log

Rev Author Line No. Line
507 kaklik 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 */
8
typedef int				INT;
9
typedef unsigned int	UINT;
10
 
11
/* These types must be 8-bit integer */
12
typedef signed char		CHAR;
13
typedef unsigned char	UCHAR;
14
typedef unsigned char	BYTE;
15
 
16
/* These types must be 16-bit integer */
17
typedef short			SHORT;
18
typedef unsigned short	USHORT;
19
typedef unsigned short	WORD;
20
 
21
/* These types must be 32-bit integer */
22
typedef long			LONG;
23
typedef unsigned long	ULONG;
24
typedef unsigned long	DWORD;
25
 
26
/* Boolean type */
27
typedef enum { FALSE = 0, TRUE } BOOL;
28
 
29
#define _INTEGER
30
#endif