VCOM Linux Driver
Advantech Inc.
Loading...
Searching...
No Matches
advtype.h
Go to the documentation of this file.
1#ifndef __ADV_TYPE_H
2#define __ADV_TYPE_H
3
4#define ADV_PAIR_NONE 0
5#define ADV_PAIR_ODD 1
6#define ADV_PAIR_EVEN 2
7#define ADV_PAIR_MARK 3
8#define ADV_PAIR_SPACE 4
9#define ADV_PAIR_UNDEF 5
10
11#define ADV_FLOW_NONE 0
12#define ADV_FLOW_XONXOFF 1
13#define ADV_FLOW_RTSCTS 2
14#define ADV_FLOW_DTSDTR 3
15#define ADV_FLOW_UNDEF 4
16
17#define ADV_STOP_1 0
18//#define ADV_STOP_1P5 1
19#define ADV_STOP_2 2
20#define ADV_STOP_UNDEF 3
21
22#define ADV_MS_DTR 0x002
23#define ADV_MS_RTS 0x004
24#define ADV_MS_CTS 0x010
25#define ADV_MS_DSR 0x020
26#define ADV_MS_RNG 0x040
27#define ADV_MS_CAR 0x080
28#define ADV_MS_DCD ADV_MS_CAR
29#define ADV_MS_RI ADV_MS_RNG
30
33 int baud;
35 int byte;
36 int pair;
37 int stop;
38 unsigned int ms;
39};
40#endif
Definition advtype.h:31
int pair
Definition advtype.h:36
int baud
Definition advtype.h:33
int stop
Definition advtype.h:37
unsigned int ms
Definition advtype.h:38
int flowctl
Definition advtype.h:34
int byte
Definition advtype.h:35
int is_open
Definition advtype.h:32