FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/cdg/cdginc-conservative/p_dio.val @ 889:1b1683cda154
fc-shell: implemented poweroff and tgtreset commands
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 28 Jun 2015 16:52:06 +0000 |
parents | 9ba088a875bd |
children |
rev | line source |
---|---|
656
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 +--------------------------------------------------------------------------+ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 | PROJECT : PROTOCOL STACK | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 | FILE : p_dio.val | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 | SOURCE : "sap\dio.pdf" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 | LastModified : "2004-03-19" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 | IdAndVersion : "..." | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 | SrcFileTime : "Thu Nov 29 09:39:48 2007" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 +--------------------------------------------------------------------------+ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 /* PRAGMAS |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 * PREFIX : NONE |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 * COMPATIBILITY_DEFINES : NO (require PREFIX) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 * ALWAYS_ENUM_IN_VAL_FILE: NO |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 * ENABLE_GROUP: NO |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 * CAPITALIZE_TYPENAME: NO |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 #ifndef P_DIO_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 #define P_DIO_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 #define CDG_ENTER__P_DIO_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 #define CDG_ENTER__FILENAME _P_DIO_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 #define CDG_ENTER__P_DIO_VAL__FILE_TYPE CDGINC |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 #define CDG_ENTER__P_DIO_VAL__LAST_MODIFIED _2004_03_19 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 #define CDG_ENTER__P_DIO_VAL__ID_AND_VERSION _ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 #define CDG_ENTER__P_DIO_VAL__SRC_FILE_TIME _Thu_Nov_29_09_39_48_2007 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 #include "CDG_ENTER.h" |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 #undef CDG_ENTER__P_DIO_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 #undef CDG_ENTER__FILENAME |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 * Value constants for VAL_baud_rate |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 #define DIO4_BAUD_RESERVED (0x0) /* reserved value */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 #define DIO4_BAUD_AUTO (0x1) /* Automatic detected */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 #define DIO4_BAUD_75 (0x2) /* Transmission rate of 75 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 #define DIO4_BAUD_110 (0x4) /* Transmission rate of 110 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 #define DIO4_BAUD_150 (0x8) /* Transmission rate of 150 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 #define DIO4_BAUD_300 (0x10) /* Transmission rate of 300 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 #define DIO4_BAUD_600 (0x20) /* Transmission rate of 600 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
53 #define DIO4_BAUD_1200 (0x40) /* Transmission rate of 1200 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
54 #define DIO4_BAUD_2400 (0x80) /* Transmission rate of 2400 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
55 #define DIO4_BAUD_4800 (0x100) /* Transmission rate of 4800 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
56 #define DIO4_BAUD_7200 (0x200) /* Transmission rate of 7200 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
57 #define DIO4_BAUD_9600 (0x400) /* Transmission rate of 9600 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
58 #define DIO4_BAUD_14400 (0x800) /* Transmission rate of 14400 bits/sec */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
59 #define DIO4_BAUD_19200 (0x1000) /* Transmission rate of 19200 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
60 #define DIO4_BAUD_28800 (0x2000) /* Transmission rate of 28800 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
61 #define DIO4_BAUD_33900 (0x4000) /* Transmission rate of 33900 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
62 #define DIO4_BAUD_38400 (0x8000) /* Transmission rate of 38400 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
63 #define DIO4_BAUD_57600 (0x10000) /* Transmission rate of 57600 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
64 #define DIO4_BAUD_115200 (0x20000) /* Transmission rate of 115200 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
65 #define DIO4_BAUD_203125 (0x40000) /* Transmission rate of 203125 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
66 #define DIO4_BAUD_230400 (0x80000) /* Transmission rate of 230400 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
67 #define DIO4_BAUD_406250 (0x100000) /* Transmission rate of 406250 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
68 #define DIO4_BAUD_460800 (0x200000) /* Transmission rate of460800 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
69 #define DIO4_BAUD_812500 (0x400000) /* Transmission rate of 812500 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
70 #define DIO4_BAUD_921600 (0x800000) /* Transmission rate of 921600 bits/se */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
71 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
72 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
73 * Value constants for VAL_dev_type |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
74 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
75 #define DIO_DATA_MUX (0x200000) /* device can start a multiplexer */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
76 #define DIO_DATA_PKT (0x400000) /* device can contain packet data */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
77 #define DIO_DATA_SER (0x800000) /* device can contain serial data */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
78 #define DIO_DATA_SER_MUX (0xa0000) /* serial device which can start a multiplexer */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
79 #define DIO_TYPE_ID_MASK (0xff00) /* mask for dio identifier to separate different capability structs with the same combination */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
80 #define DIO_TYPE_DAT_MASK (0xff0000) /* mask for dio identifier to separate kind of data support */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
81 #define DIO_TYPE_SER (0x800100) /* Type for serial devices like UART */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
82 #define DIO_TYPE_SER_MUX (0xa00100) /* Type for serial devices like UART. It is possible to start a 27.010 multiplexer on devices of this type */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
83 #define DIO_TYPE_PKT (0x400100) /* Type for packet devices */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
84 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
85 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
86 * Value constants for VAL_char_frame |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
87 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
88 #define DIO_CF_8N2 (0x1) /* 8 data bits; no parity bit; 2 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
89 #define DIO_CF_8O1 (0x2) /* 8 data bits; odd parity bit; 1 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
90 #define DIO_CF_8E1 (0x4) /* 8 data bits; even parity bit; 1 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
91 #define DIO_CF_8M1 (0x8) /* 8 data bits; mark parity bit; 1 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
92 #define DIO_CF_8S1 (0x10) /* 8 data bits; space parity bit; 1 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
93 #define DIO_CF_8N1 (0x20) /* 8 data bits; no parity bit; 1 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
94 #define DIO_CF_7N2 (0x40) /* 7 data bits; no parity bit; 2 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
95 #define DIO_CF_7O1 (0x80) /* 7 data bits; odd parity bit; 1 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
96 #define DIO_CF_7E1 (0x100) /* 7 data bits; even parity bit; 1 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
97 #define DIO_CF_7M1 (0x200) /* 7 data bits; mark parity bit; 1 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
98 #define DIO_CF_7S1 (0x400) /* 7 data bits; space parity bit;1 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
99 #define DIO_CF_7N1 (0x800) /* 7 data bits; no parity bit; 1 stop bits */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
100 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
101 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
102 * Value constants for VAL_flow_control |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
103 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
104 #define DIO_FLOW_NONE (0x1) /* Data transmit: None Data receive: None */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
105 #define DIO_FLOW_NO_XOFF (0x2) /* Data transmit: None Data receive: XON/XOFF */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
106 #define DIO_FLOW_NO_CTS (0x4) /* Data transmit: None Data receive: CTS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
107 #define DIO_FLOW_XON_NO (0x8) /* Data transmit: local XON/XOFF Data receive: None */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
108 #define DIO_FLOW_XON_XOFF (0x10) /* Data transmit: local XON/XOFF Data receive: XON/XOFF */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
109 #define DIO_FLOW_XON_CTS (0x20) /* Data transmit: local XON/XOFF Data receive:CTS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
110 #define DIO_FLOW_RTS_NO (0x40) /* Data transmit: RTS Data receive: None */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
111 #define DIO_FLOW_RTS_XOFF (0x80) /* Data transmit: RTS Data receive: XON/XOFF */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
112 #define DIO_FLOW_RTS_CTS (0x100) /* Data transmit: RTS Data receive: CTS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
113 #define DIO_FLOW_XTR_NO (0x200) /* Data transmit: transparent XON/XOFF Data receive: None */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
114 #define DIO_FLOW_XTR_XOFF (0x400) /* Data transmit: transparent XON/XOFF Data receive: CTS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
115 #define DIO_FLOW_XTR_CTS (0x800) /* Data transmit: transparent XON/XOFF Data receive: CTS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
116 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
117 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
118 * Value constants for VAL_line_states |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
119 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
120 #define LINE_STD_DCD_ON (0x1) /* b00000001 set line DCD on */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
121 #define LINE_STD_DCD_OFF (0x2) /* b00000010 set line DCD off */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
122 #define LINE_STD_RING_ON (0x4) /* b00000100 set line RING on */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
123 #define LINE_STD_RING_OFF (0x8) /* b00001000 set line RING off */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
124 #define LINE_STD_ESCD_IND (0x10) /* b00010000 escape sequence indication */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
125 #define LINE_STD_DTR_LDR (0x20) /* b00100000 DTR line drop indication */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
126 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
127 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
128 * Value constants for VAL_ser_flags |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
129 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
130 #define DIO_FLAG_SER_ESC (0x80000000)/* device supports escape sequence detection */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
131 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
132 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
133 * Value constants for VAL_device |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
134 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
135 #define DIO_DRV_MASK (0xff000000)/* mask for driver number to identify the driver */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
136 #define DIO_TYPE_MASK (0xffff00) /* mask for device type */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
137 #define DIO_DEVICE_MASK (0xff) /* mask for actual device number chosen by the driver */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
138 #define DIO_DRV_UART (0x0) /* UART driver */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
139 #define DIO_DRV_USB (0x1000000)/* USB driver */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
140 #define DIO_DRV_MUX (0x2000000)/* 27.010 multiplexer driver */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
141 #define DIO_DRV_PKT (0x3000000)/* packet driver */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
142 #define DIO_DRV_MCBSP (0x4000000)/* McBSP driver */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
143 #define DIO_DRV_APP (0x5000000)/* Application adapter */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
144 #define DIO_DRV_BAT (0x6000000)/* Binary Interface Adapter */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
145 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
146 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
147 * Value constants for VAL_dev_flag |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
148 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
149 #define DIO_FLAG_SLEEP (0x80000000)/* device provides the feature power saving state */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
150 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
151 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
152 * Value constants for VAL_mux_mode |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
153 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
154 #define DIO_MUX_BASIC (0x1) /* mux supports Basic option */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
155 #define DIO_MUX_UIH (0x2) /* mux supports Advanced option with UIH frames */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
156 #define DIO_MUX_UI (0x4) /* mux supports Advanced option with UI frames */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
157 #define DIO_MUX_I (0x8) /* mux supports Advanced option with I frames (error recovery) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
158 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
159 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
160 * Value constants for VAL_contr_type |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
161 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
162 #define DIO4_CTRL_LINES (0x1) /* control struct contains serial line states */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
163 #define DIO4_CTRL_MUX (0x2) /* control struct contains mux control parameter */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
164 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
165 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
166 * Value constants for VAL_dev_mode |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
167 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
168 #define DIO_MODE_SER (0x1) /* device acts as serial device */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
169 #define DIO_MODE_MUX (0x2) /* device acts as 27.010 mux device */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
170 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
171 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
172 * Value constants for VAL_esc_char |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
173 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
174 #define ESC_CHAR_DEFAULT (0x2b) /* default escape character ('+') */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
175 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
176 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
177 * Value constants for VAL_guard_per |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
178 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
179 #define DIO_ESC_OFF (0x0) /* turn escape sequence detection off */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
180 #define DIO_GUARD_PER_DEFAULT (0x3e8) /* default value 1000ms */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
181 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
182 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
183 * Value constants for VAL_k |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
184 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
185 #define K_DEFAULT (0x2) /* k default value */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
186 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
187 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
188 * Value constants for VAL_n1 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
189 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
190 #define MUX_N1_BASIC_DEFAULT (0x1f) /* default value for the basic option */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
191 #define MUX_N1_ADVANCED_DEFAULT (0x40) /* default value for the advanced option */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
192 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
193 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
194 * Value constants for VAL_n2 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
195 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
196 #define MUX_N2_DEFAULT (0x3) /* default number of retransmission */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
197 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
198 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
199 * Value constants for VAL_sleep_mode |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
200 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
201 #define DIO_SLEEP_ENABLE (0x1) /* enter sleep mode if possible */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
202 #define DIO_SLEEP_DISABLE (0x2) /* do not enter sleep mode */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
203 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
204 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
205 * Value constants for VAL_cb_line_state |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
206 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
207 #define DIO_SA (0x80000000)/* read/write: device ready */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
208 #define DIO_SB (0x40000000)/* read/write: data valid */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
209 #define DIO_X (0x20000000)/* read/write: flow control */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
210 #define DIO_RING (0x10000000)/* write: RING indicator */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
211 #define DIO_ESC (0x8000000)/* read: escape seqence detected */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
212 #define DIO_MUX_STOPPED (0x4000000)/* multiplexer stopped */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
213 #define DIO_BRK (0x2000000)/* read/write: break received/to be send */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
214 #define DIO_BRKLEN_MASK (0xff) /* read/write: length of break signal in character; only valid if DIO_BREAK bit is set to 1 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
215 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
216 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
217 * Value constants for VAL_t1 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
218 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
219 #define MUX_T1_DEFAULT (0xa) /* default acknowledgement timer (100ms) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
220 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
221 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
222 * Value constants for VAL_t2 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
223 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
224 #define MUX_T2_DEFAULT (0x1e) /* default response timer */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
225 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
226 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
227 * Value constants for VAL_t3 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
228 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
229 #define MUX_T3_DEFAULT (0xa) /* default wake up response timer (100ms) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
230 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
231 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
232 * Value constants for VAL_xoff |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
233 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
234 #define XOFF_DEFAULT (0x13) /* xoff default value */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
235 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
236 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
237 * Value constants for VAL_xon |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
238 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
239 #define XON_DEFAULT (0x11) /* xon default value */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
240 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
241 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
242 * Value constants for VAL_start_mux |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
243 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
244 #define DIO_MUX_DYNAMIC (0x0) /* Do not start the 27.010 multiplexer immediately. The multi-plexer may be started dynamically on runtime */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
245 #define DIO_MUX_START (0x1) /* Starts the 27.010 multiplexer permanently. The multiplexer can not be turned off during runtime */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
246 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
247 #include "CDG_LEAVE.h" |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
248 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
249 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
250 #endif |