]> cloudbase.mooo.com Git - z180-stamp.git/blob - include/integer.h
Detect ZRESET polarity
[z180-stamp.git] / include / integer.h
1 /*-------------------------------------------*/
2 /* Integer type definitions for FatFs module */
3 /*-------------------------------------------*/
4
5 #ifndef _FF_INTEGER
6 #define _FF_INTEGER
7
8 #include <stdint.h>
9
10 /* This type MUST be 8 bit */
11 typedef uint8_t BYTE;
12
13 /* These types MUST be 16 bit */
14 typedef int16_t SHORT;
15 typedef uint16_t WORD;
16 typedef uint16_t WCHAR;
17
18 /* These types MUST be 16 bit or 32 bit */
19 typedef int INT;
20 typedef unsigned int UINT;
21
22 /* These types MUST be 32 bit */
23 typedef int32_t LONG;
24 typedef uint32_t DWORD;
25
26 #endif