peripherals  1.4.2
RoadNarrows Robotics Hardware Peripherals Package
econ_typedef.h
1 /**********************************************************************************************************
2  * Copyright (C) 2009 by e-con Systems. *
3  * www.e-consystems.com *
4  * *
5  * This file is licensed under the terms of the GNU General Public License *
6  * version 2. This program is licensed "as is" without any warranty of any *
7  * kind, whether express or implied. *
8  * *
9  * *
10  * PROJECT : Defined variable types *
11  * MODULE NAME : *
12  * MODULE VERSION : *
13  * *
14  * *
15  * *
16  * Version No : 000-0001 CODE_REV : 0.0.0.0 *
17  **********************************************************************************************************/
18 
19 /*
20  *==========================================================================================================
21  * REVISION HISTORY
22  *----------------------------------------------------------------------------------------------------------
23  * CODE_REV REASON FOR MODIFICATION MODIFIED FUNCTION NAME AUTHOR
24  *----------------------------------------------------------------------------------------------------------
25  * 0.0.0.0 code development Ananthapadmanaban
26  *
27  *
28  *==========================================================================================================
29  */
30 
31 #ifndef _ECON_TYPEDEF_H
32 #define _ECON_TYPEDEF_H
33 
34 /*
35  * Char
36  */
37 
38 typedef char INT8;
39 typedef unsigned char UINT8;
40 typedef signed char SINT8;
41 
42 typedef char* PINT8;
43 typedef unsigned char* UPINT8;
44 typedef signed char* SPINT8;
45 
46 typedef char** DPINT8;
47 typedef unsigned char** UDPINT8;
48 typedef signed char** SDPINT8;
49 typedef const char* CPINT8;
50 
51 typedef UINT8 BOOL;
52 
53 /*
54  * Int
55  */
56 typedef int INT32;
57 typedef unsigned int UINT32;
58 typedef signed int SINT32;
59 
60 typedef int* PINT32;
61 typedef unsigned int* UPINT32;
62 typedef signed int* SPINT32;
63 
64 typedef int** DPINT32;
65 typedef unsigned int** UDPINT32;
66 typedef signed int** SDPINT32;
67 
68 typedef volatile unsigned int UVINT32;
69 typedef INT32 FNRESLT;
70 
71 
72 /*
73  * Long
74  */
75 
76 typedef long LINT32;
77 typedef unsigned long ULINT32;
78 /*
79  * long long int
80  */
81 typedef long long int INT64;
82 typedef long long int* PINT64;
83 typedef unsigned long long int UINT64;
84 typedef unsigned long long int* UPINT64;
85 
86 /*
87  * short
88  */
89 typedef short INT16;
90 typedef unsigned short UINT16;
91 typedef signed short SINT16;
92 
93 typedef short* PINT16;
94 typedef unsigned short* UPINT16;
95 typedef signed short* SPINT16;
96 
97 typedef short** DPINT16;
98 typedef unsigned short** UDPINT16;
99 typedef signed short** SDPINT16;
100 
101 typedef volatile unsigned short UVINT16;
102 
103 
104 /*
105  * void
106  */
107 typedef void INT0;
108 typedef void* PINT0;
109 typedef void** DPINT0;
110 typedef INT0 FNRESLT_NONE;
111 
112 typedef unsigned short WORD;
113 typedef unsigned int DWORD;
114 typedef int LONG;
115 
116 /*
117  * float
118  */
119 
120 #endif // ECON_TYPEDEF_H