]>
Commit | Line | Data |
---|---|---|
53668523 L |
1 | /*-------------------------------------------*/\r |
2 | /* Integer type definitions for FatFs module */\r | |
3 | /*-------------------------------------------*/\r | |
4 | \r | |
5 | #ifndef _FF_INTEGER\r | |
6 | #define _FF_INTEGER\r | |
7 | \r | |
7f552300 | 8 | #include <stdint.h>\r |
53668523 L |
9 | \r |
10 | /* This type MUST be 8 bit */\r | |
7f552300 | 11 | typedef uint8_t BYTE;\r |
53668523 L |
12 | \r |
13 | /* These types MUST be 16 bit */\r | |
7f552300 L |
14 | typedef int16_t SHORT;\r |
15 | typedef uint16_t WORD;\r | |
16 | typedef uint16_t WCHAR;\r | |
53668523 L |
17 | \r |
18 | /* These types MUST be 16 bit or 32 bit */\r | |
7f552300 | 19 | typedef int INT;\r |
53668523 L |
20 | typedef unsigned int UINT;\r |
21 | \r | |
22 | /* These types MUST be 32 bit */\r | |
7f552300 L |
23 | typedef int32_t LONG;\r |
24 | typedef uint32_t DWORD;\r | |
53668523 L |
25 | \r |
26 | #endif\r |