WIZlib Library API
ver 1.0
WIZlib Library API User Menual
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
library
common
types.h
Go to the documentation of this file.
1
13
#ifndef _TYPE_H
14
#define _TYPE_H
15
16
17
#ifndef int8
18
typedef
signed
char
int8;
19
#endif
20
#ifndef uint8
21
typedef
unsigned
char
uint8;
22
#endif
23
#ifndef vint8
24
typedef
volatile
signed
char
vint8;
25
#endif
26
#ifndef vuint8
27
typedef
volatile
unsigned
char
vuint8;
28
#endif
29
30
#ifndef int16
31
typedef
signed
short
int16;
32
#endif
33
#ifndef uint16
34
typedef
unsigned
short
uint16;
35
#endif
36
#ifndef vint16
37
typedef
volatile
signed
short
vint16;
38
#endif
39
#ifndef vuint16
40
typedef
volatile
unsigned
short
vuint16;
41
#endif
42
43
#ifndef int32
44
typedef
signed
long
int32;
45
#endif
46
#ifndef uint32
47
typedef
unsigned
long
uint32;
48
#endif
49
#ifndef vint32
50
typedef
volatile
signed
long
vint32;
51
#endif
52
#ifndef vuint32
53
typedef
volatile
unsigned
long
vuint32;
54
#endif
55
99
#define RET_FAIL 1
100
#define RET_OK 0
101
#define RET_NOK -1
102
103
#define VAL_HIGH 1
104
#define VAL_LOW 0
105
106
#define VAL_TOG 2
107
#define VAL_ON 1
108
#define VAL_OFF 0
109
110
#define VAL_SET 1
111
#define VAL_CLEAR 0
112
113
#define VAL_TRUE 1
114
#define VAL_FALSE 0
115
116
#define VAL_ENABLE 1
117
#define VAL_DISABLE 0
118
119
#define VAL_NONE -1
120
#define VAL_INVALID -2
121
122
#define CRLF "\r\n"
123
124
#endif //_TYPE_H
125
126
127
Generated on Wed Mar 13 2013 16:12:39 for WIZlib Library API by
1.8.3.1