2018-02-02 16:35:18 -04:00
|
|
|
/*-------------------------------------------*/
|
|
|
|
/* Integer type definitions for FatFs module */
|
|
|
|
/*-------------------------------------------*/
|
|
|
|
|
2018-04-26 04:14:29 -03:00
|
|
|
#ifndef FF_INTEGER
|
|
|
|
#define FF_INTEGER
|
2018-02-02 16:35:18 -04:00
|
|
|
|
2018-04-26 04:14:29 -03:00
|
|
|
/* These types MUST be 16-bit or 32-bit */
|
|
|
|
typedef int INT;
|
|
|
|
typedef unsigned int UINT;
|
2018-02-02 16:35:18 -04:00
|
|
|
|
2018-04-26 04:14:29 -03:00
|
|
|
/* This type MUST be 8-bit */
|
2018-02-02 16:35:18 -04:00
|
|
|
typedef unsigned char BYTE;
|
|
|
|
|
2018-04-26 04:14:29 -03:00
|
|
|
/* These types MUST be 16-bit */
|
|
|
|
typedef short SHORT;
|
2018-02-02 16:35:18 -04:00
|
|
|
typedef unsigned short WORD;
|
|
|
|
typedef unsigned short WCHAR;
|
|
|
|
|
2018-04-26 04:14:29 -03:00
|
|
|
/* These types MUST be 32-bit */
|
|
|
|
typedef long LONG;
|
2018-02-02 16:35:18 -04:00
|
|
|
typedef unsigned long DWORD;
|
|
|
|
|
2018-04-26 04:14:29 -03:00
|
|
|
/* This type MUST be 64-bit (Remove this for ANSI C (C89) compatibility) */
|
|
|
|
typedef unsigned long long QWORD;
|
2018-02-02 16:35:18 -04:00
|
|
|
|
2018-04-26 04:14:29 -03:00
|
|
|
#endif
|