]>
Commit | Line | Data |
---|---|---|
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 | |
8 | #include <stdint.h>\r | |
9 | \r | |
10 | /* This type MUST be 8 bit */\r | |
11 | typedef uint8_t BYTE;\r | |
12 | \r | |
13 | /* These types MUST be 16 bit */\r | |
14 | typedef int16_t SHORT;\r | |
15 | typedef uint16_t WORD;\r | |
16 | typedef uint16_t WCHAR;\r | |
17 | \r | |
18 | /* These types MUST be 16 bit or 32 bit */\r | |
19 | typedef int INT;\r | |
20 | typedef unsigned int UINT;\r | |
21 | \r | |
22 | /* These types MUST be 32 bit */\r | |
23 | typedef int32_t LONG;\r | |
24 | typedef uint32_t DWORD;\r | |
25 | \r | |
26 | #endif\r |