Prusa MINI Firmware overview
integer.h
Go to the documentation of this file.
1 /*-------------------------------------------*/
2 /* Integer type definitions for FatFs module */
3 /*-------------------------------------------*/
4 
5 #ifndef _FF_INTEGER
6 #define _FF_INTEGER
7 
8 #ifdef _WIN32 /* FatFs development platform */
9 
10 #include <windows.h>
11 #include <tchar.h>
12 typedef unsigned __int64 QWORD;
13 
14 
15 #else /* Embedded platform */
16 
17 /* These types MUST be 16-bit or 32-bit */
18 typedef int INT;
19 typedef unsigned int UINT;
20 
21 /* This type MUST be 8-bit */
22 typedef unsigned char BYTE;
23 
24 /* These types MUST be 16-bit */
25 typedef short SHORT;
26 typedef unsigned short WORD;
27 typedef unsigned short WCHAR;
28 
29 /* These types MUST be 32-bit */
30 typedef long LONG;
31 typedef unsigned long DWORD;
32 
33 /* This type MUST be 64-bit (Remove this for ANSI C (C89) compatibility) */
34 typedef unsigned long long QWORD;
35 
36 #endif
37 
38 #endif
SHORT
short SHORT
Definition: integer.h:25
WORD
unsigned short WORD
Definition: integer.h:26
LONG
long LONG
Definition: integer.h:30
INT
int INT
Definition: integer.h:18
UINT
unsigned int UINT
Definition: integer.h:19
DWORD
unsigned long DWORD
Definition: integer.h:31
BYTE
unsigned char BYTE
Definition: integer.h:22
QWORD
unsigned long long QWORD
Definition: integer.h:34
WCHAR
unsigned short WCHAR
Definition: integer.h:27