FreeCalypso > hg > fc-magnetite
comparison cdg3/cdginc-locosto/p_dti2.h @ 16:c15047b3d00d
cdg3: import from freecalypso-citrine/cdg
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 27 Sep 2016 16:27:34 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:c8bdae60fcb1 | 16:c15047b3d00d |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : p_dti2.h | | |
5 | SOURCE : "sap\dti2.pdf" | | |
6 | LastModified : "2001-09-19" | | |
7 | IdAndVersion : "8411.111.01.002" | | |
8 | SrcFileTime : "Thu Nov 29 09:40:38 2007" | | |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014 | | |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | | |
11 +--------------------------------------------------------------------------+ | |
12 */ | |
13 | |
14 /* PRAGMAS | |
15 * PREFIX : NONE | |
16 * COMPATIBILITY_DEFINES : NO (require PREFIX) | |
17 * ALWAYS_ENUM_IN_VAL_FILE: NO | |
18 * ENABLE_GROUP: NO | |
19 * CAPITALIZE_TYPENAME: NO | |
20 */ | |
21 | |
22 | |
23 #ifndef P_DTI2_H | |
24 #define P_DTI2_H | |
25 | |
26 | |
27 #define CDG_ENTER__P_DTI2_H | |
28 | |
29 #define CDG_ENTER__FILENAME _P_DTI2_H | |
30 #define CDG_ENTER__P_DTI2_H__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_DTI2_H__LAST_MODIFIED _2001_09_19 | |
32 #define CDG_ENTER__P_DTI2_H__ID_AND_VERSION _8411_111_01_002 | |
33 | |
34 #define CDG_ENTER__P_DTI2_H__SRC_FILE_TIME _Thu_Nov_29_09_40_38_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_DTI2_H | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 #include "p_dti2.val" | |
44 | |
45 #ifndef __T_desc_list2__ | |
46 #define __T_desc_list2__ | |
47 /* | |
48 * List of generic data descriptors | |
49 * CCDGEN:WriteStruct_Count==1461 | |
50 */ | |
51 typedef struct | |
52 { | |
53 U16 list_len; /*< 0: 2> length in octets of whole data */ | |
54 U8 _align0; /*< 2: 1> alignment */ | |
55 U8 _align1; /*< 3: 1> alignment */ | |
56 U32 first; /*< 4: 4> pointer to first generic data descriptor */ | |
57 } T_desc_list2; | |
58 #endif | |
59 | |
60 #ifndef __T_desc2__ | |
61 #define __T_desc2__ | |
62 /* | |
63 * generic data descriptor | |
64 * CCDGEN:WriteStruct_Count==1462 | |
65 */ | |
66 typedef struct | |
67 { | |
68 U32 next; /*< 0: 4> next generic data descriptor */ | |
69 U16 offset; /*< 4: 2> offset in octets */ | |
70 U16 len; /*< 6: 2> length of content in octets */ | |
71 U16 size; /*< 8: 2> size of buffer in octets */ | |
72 U8 buffer[1]; /*< 10: 1> buffer content */ | |
73 U8 _align0; /*< 11: 1> alignment */ | |
74 } T_desc2; | |
75 #endif | |
76 | |
77 #ifndef __T_st_lines__ | |
78 #define __T_st_lines__ | |
79 /* | |
80 * Serial line states | |
81 * CCDGEN:WriteStruct_Count==1464 | |
82 */ | |
83 typedef struct | |
84 { | |
85 U8 st_flow; /*< 0: 1> flow control state */ | |
86 U8 st_line_sa; /*< 1: 1> line state sa */ | |
87 U8 st_line_sb; /*< 2: 1> line state sb */ | |
88 U8 _align0; /*< 3: 1> alignment */ | |
89 U16 st_break_len; /*< 4: 2> break length */ | |
90 U8 _align1; /*< 6: 1> alignment */ | |
91 U8 _align2; /*< 7: 1> alignment */ | |
92 } T_st_lines; | |
93 #endif | |
94 | |
95 #ifndef __T_parameters__ | |
96 #define __T_parameters__ | |
97 /* | |
98 * Additional parameters | |
99 * CCDGEN:WriteStruct_Count==1465 | |
100 */ | |
101 typedef struct | |
102 { | |
103 U8 p_id; /*< 0: 1> protocol identifier */ | |
104 U8 _align0; /*< 1: 1> alignment */ | |
105 U8 _align1; /*< 2: 1> alignment */ | |
106 U8 _align2; /*< 3: 1> alignment */ | |
107 T_st_lines st_lines; /*< 4: 8> Serial line states */ | |
108 } T_parameters; | |
109 #endif | |
110 | |
111 | |
112 /* | |
113 * End of substructure section, begin of primitive definition section | |
114 */ | |
115 | |
116 #ifndef __T_DTI2_CONNECT_REQ__ | |
117 #define __T_DTI2_CONNECT_REQ__ | |
118 /* | |
119 * | |
120 * CCDGEN:WriteStruct_Count==1468 | |
121 */ | |
122 typedef struct | |
123 { | |
124 U32 link_id; /*< 0: 4> link identifier */ | |
125 U32 version; /*< 4: 4> Version of DTI */ | |
126 } T_DTI2_CONNECT_REQ; | |
127 #endif | |
128 | |
129 #ifndef __T_DTI2_CONNECT_IND__ | |
130 #define __T_DTI2_CONNECT_IND__ | |
131 /* | |
132 * | |
133 * CCDGEN:WriteStruct_Count==1469 | |
134 */ | |
135 typedef struct | |
136 { | |
137 U32 link_id; /*< 0: 4> link identifier */ | |
138 U32 version; /*< 4: 4> Version of DTI */ | |
139 } T_DTI2_CONNECT_IND; | |
140 #endif | |
141 | |
142 #ifndef __T_DTI2_CONNECT_CNF__ | |
143 #define __T_DTI2_CONNECT_CNF__ | |
144 /* | |
145 * | |
146 * CCDGEN:WriteStruct_Count==1470 | |
147 */ | |
148 typedef struct | |
149 { | |
150 U32 link_id; /*< 0: 4> link identifier */ | |
151 U32 version; /*< 4: 4> Version of DTI */ | |
152 } T_DTI2_CONNECT_CNF; | |
153 #endif | |
154 | |
155 #ifndef __T_DTI2_CONNECT_RES__ | |
156 #define __T_DTI2_CONNECT_RES__ | |
157 /* | |
158 * | |
159 * CCDGEN:WriteStruct_Count==1471 | |
160 */ | |
161 typedef struct | |
162 { | |
163 U32 link_id; /*< 0: 4> link identifier */ | |
164 U32 version; /*< 4: 4> Version of DTI */ | |
165 } T_DTI2_CONNECT_RES; | |
166 #endif | |
167 | |
168 #ifndef __T_DTI2_DISCONNECT_REQ__ | |
169 #define __T_DTI2_DISCONNECT_REQ__ | |
170 /* | |
171 * | |
172 * CCDGEN:WriteStruct_Count==1472 | |
173 */ | |
174 typedef struct | |
175 { | |
176 U32 link_id; /*< 0: 4> link identifier */ | |
177 U8 cause; /*< 4: 1> cause of disconnection */ | |
178 U8 _align0; /*< 5: 1> alignment */ | |
179 U8 _align1; /*< 6: 1> alignment */ | |
180 U8 _align2; /*< 7: 1> alignment */ | |
181 } T_DTI2_DISCONNECT_REQ; | |
182 #endif | |
183 | |
184 #ifndef __T_DTI2_DISCONNECT_IND__ | |
185 #define __T_DTI2_DISCONNECT_IND__ | |
186 /* | |
187 * | |
188 * CCDGEN:WriteStruct_Count==1473 | |
189 */ | |
190 typedef struct | |
191 { | |
192 U32 link_id; /*< 0: 4> link identifier */ | |
193 U8 cause; /*< 4: 1> cause of disconnection */ | |
194 U8 _align0; /*< 5: 1> alignment */ | |
195 U8 _align1; /*< 6: 1> alignment */ | |
196 U8 _align2; /*< 7: 1> alignment */ | |
197 } T_DTI2_DISCONNECT_IND; | |
198 #endif | |
199 | |
200 #ifndef __T_DTI2_GETDATA_REQ__ | |
201 #define __T_DTI2_GETDATA_REQ__ | |
202 /* | |
203 * | |
204 * CCDGEN:WriteStruct_Count==1474 | |
205 */ | |
206 typedef struct | |
207 { | |
208 U32 link_id; /*< 0: 4> link identifier */ | |
209 } T_DTI2_GETDATA_REQ; | |
210 #endif | |
211 | |
212 #ifndef __T_DTI2_READY_IND__ | |
213 #define __T_DTI2_READY_IND__ | |
214 /* | |
215 * | |
216 * CCDGEN:WriteStruct_Count==1475 | |
217 */ | |
218 typedef struct | |
219 { | |
220 U32 link_id; /*< 0: 4> link identifier */ | |
221 } T_DTI2_READY_IND; | |
222 #endif | |
223 | |
224 #ifndef __T_DTI2_DATA_IND__ | |
225 #define __T_DTI2_DATA_IND__ | |
226 /* | |
227 * | |
228 * CCDGEN:WriteStruct_Count==1476 | |
229 */ | |
230 typedef struct | |
231 { | |
232 U32 link_id; /*< 0: 4> link identifier */ | |
233 T_parameters parameters; /*< 4: 12> Additional parameters */ | |
234 T_desc_list2 desc_list2; /*< 16: 8> List of generic data descriptors */ | |
235 } T_DTI2_DATA_IND; | |
236 #endif | |
237 | |
238 #ifndef __T_DTI2_DATA_REQ__ | |
239 #define __T_DTI2_DATA_REQ__ | |
240 /* | |
241 * | |
242 * CCDGEN:WriteStruct_Count==1477 | |
243 */ | |
244 typedef struct | |
245 { | |
246 U32 link_id; /*< 0: 4> link identifier */ | |
247 T_parameters parameters; /*< 4: 12> Additional parameters */ | |
248 T_desc_list2 desc_list2; /*< 16: 8> List of generic data descriptors */ | |
249 } T_DTI2_DATA_REQ; | |
250 #endif | |
251 | |
252 #ifndef __T_DTI2_DATA_TEST_IND__ | |
253 #define __T_DTI2_DATA_TEST_IND__ | |
254 /* | |
255 * | |
256 * CCDGEN:WriteStruct_Count==1478 | |
257 */ | |
258 typedef struct | |
259 { | |
260 U32 link_id; /*< 0: 4> link identifier */ | |
261 T_parameters parameters; /*< 4: 12> Additional parameters */ | |
262 T_sdu sdu; /*< 16: ? > test data */ | |
263 } T_DTI2_DATA_TEST_IND; | |
264 #endif | |
265 | |
266 #ifndef __T_DTI2_DATA_TEST_REQ__ | |
267 #define __T_DTI2_DATA_TEST_REQ__ | |
268 /* | |
269 * | |
270 * CCDGEN:WriteStruct_Count==1479 | |
271 */ | |
272 typedef struct | |
273 { | |
274 U32 link_id; /*< 0: 4> link identifier */ | |
275 T_parameters parameters; /*< 4: 12> Additional parameters */ | |
276 T_sdu sdu; /*< 16: ? > test data */ | |
277 } T_DTI2_DATA_TEST_REQ; | |
278 #endif | |
279 | |
280 #ifndef __T_DTI2_DUMMY_REQ__ | |
281 #define __T_DTI2_DUMMY_REQ__ | |
282 /* | |
283 * | |
284 * CCDGEN:WriteStruct_Count==1480 | |
285 */ | |
286 typedef struct | |
287 { | |
288 T_desc2 desc2; /*< 0: 12> generic data descriptor */ | |
289 } T_DTI2_DUMMY_REQ; | |
290 #endif | |
291 | |
292 | |
293 #include "CDG_LEAVE.h" | |
294 | |
295 | |
296 #endif |