TI-RTOS Drivers  tidrivers_full_2_20_00_08
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 /* Development platform */
9 
10 #include <windows.h>
11 #include <tchar.h>
12 
13 #else /* Embedded platform */
14 
15 /* This type MUST be 8-bit */
16 typedef unsigned char BYTE;
17 
18 /* These types MUST be 16-bit */
19 typedef short SHORT;
20 typedef unsigned short WORD;
21 typedef unsigned short WCHAR;
22 
23 /* These types MUST be 16-bit or 32-bit */
24 typedef int INT;
25 typedef unsigned int UINT;
26 
27 /* These types MUST be 32-bit */
28 typedef long LONG;
29 typedef unsigned long DWORD;
30 
31 #endif
32 
33 #endif
unsigned short WORD
Definition: integer.h:20
unsigned short WCHAR
Definition: integer.h:21
short SHORT
Definition: integer.h:19
long LONG
Definition: integer.h:28
int INT
Definition: integer.h:24
unsigned long DWORD
Definition: integer.h:29
unsigned char BYTE
Definition: integer.h:16
unsigned int UINT
Definition: integer.h:25
Copyright 2016, Texas Instruments Incorporated