OpenCores
URL https://opencores.org/ocsvn/ion/ion/trunk

Subversion Repositories ion

[/] [ion/] [trunk/] [src/] [common/] [fatfs/] [integer.h] - Blame information for rev 247

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 243 ja_rd
/*-------------------------------------------*/
2
/* Integer type definitions for FatFs module */
3
/*-------------------------------------------*/
4
 
5
#ifndef _INTEGER
6
#define _INTEGER
7
 
8
#ifdef _WIN32   /* FatFs development platform */
9
 
10
#include <windows.h>
11
#include <tchar.h>
12
 
13
#else                   /* Embedded platform */
14
 
15
/* These types must be 16-bit, 32-bit or larger integer */
16
typedef int                             INT;
17
typedef unsigned int    UINT;
18
 
19
/* These types must be 8-bit integer */
20
typedef char                    CHAR;
21
typedef unsigned char   UCHAR;
22
typedef unsigned char   BYTE;
23
 
24
/* These types must be 16-bit integer */
25
typedef short                   SHORT;
26
typedef unsigned short  USHORT;
27
typedef unsigned short  WORD;
28
typedef unsigned short  WCHAR;
29
 
30
/* These types must be 32-bit integer */
31
typedef long                    LONG;
32
typedef unsigned long   ULONG;
33
typedef unsigned long   DWORD;
34
 
35
#endif
36
 
37
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.