comparison cdg-hybrid/cdginc/p_ra.h @ 14:35f7a1dc9f7d

cdg-hybrid: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 07:15:38 +0000
parents
children
comparison
equal deleted inserted replaced
13:83146a4ae927 14:35f7a1dc9f7d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_ra.h |
5 | SOURCE : "sap\ra.pdf" |
6 | LastModified : "2002-04-26" |
7 | IdAndVersion : "8411.102.98.204" |
8 | SrcFileTime : "Thu Nov 29 09:51:34 2007" |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
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_RA_H
24 #define P_RA_H
25
26
27 #define CDG_ENTER__P_RA_H
28
29 #define CDG_ENTER__FILENAME _P_RA_H
30 #define CDG_ENTER__P_RA_H__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_RA_H__LAST_MODIFIED _2002_04_26
32 #define CDG_ENTER__P_RA_H__ID_AND_VERSION _8411_102_98_204
33
34 #define CDG_ENTER__P_RA_H__SRC_FILE_TIME _Thu_Nov_29_09_51_34_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_RA_H
39
40 #undef CDG_ENTER__FILENAME
41
42
43 #include "p_ra.val"
44
45
46 /*
47 * End of substructure section, begin of primitive definition section
48 */
49
50 #ifndef __T_RA_ACTIVATE_REQ__
51 #define __T_RA_ACTIVATE_REQ__
52 /*
53 *
54 * CCDGEN:WriteStruct_Count==2398
55 */
56 typedef struct
57 {
58 U8 model; /*< 0: 1> transfer protocol model */
59 U8 tra_rate; /*< 1: 1> transmission rate */
60 U8 user_rate; /*< 2: 1> user rate */
61 U8 ndb; /*< 3: 1> number data bits */
62 U8 nsb; /*< 4: 1> number stop bits */
63 U8 _align0; /*< 5: 1> alignment */
64 U8 _align1; /*< 6: 1> alignment */
65 U8 _align2; /*< 7: 1> alignment */
66 } T_RA_ACTIVATE_REQ;
67 #endif
68
69 #ifndef __T_RA_DEACTIVATE_REQ__
70 #define __T_RA_DEACTIVATE_REQ__
71 /*
72 *
73 * CCDGEN:WriteStruct_Count==2399
74 */
75 typedef struct
76 {
77 U8 dummy; /*< 0: 1> no parameters */
78 } T_RA_DEACTIVATE_REQ;
79 #endif
80
81 #ifndef __T_RA_READY_IND__
82 #define __T_RA_READY_IND__
83 /*
84 *
85 * CCDGEN:WriteStruct_Count==2400
86 */
87 typedef struct
88 {
89 U8 req_frames; /*< 0: 1> requested frames */
90 U8 _align0; /*< 1: 1> alignment */
91 U8 _align1; /*< 2: 1> alignment */
92 U8 _align2; /*< 3: 1> alignment */
93 } T_RA_READY_IND;
94 #endif
95
96 #ifndef __T_RA_DATA_REQ__
97 #define __T_RA_DATA_REQ__
98 /*
99 *
100 * CCDGEN:WriteStruct_Count==2401
101 */
102 typedef struct
103 {
104 U8 fr_type; /*< 0: 1> frame type */
105 U8 dtx_flg; /*< 1: 1> discontinuous transmission flag */
106 U8 status; /*< 2: 1> V24 Status */
107 U8 reserved; /*< 3: 1> Reserved */
108 T_sdu sdu; /*< 4: ? > Service Data Unit */
109 } T_RA_DATA_REQ;
110 #endif
111
112 #ifndef __T_RA_BREAK_REQ__
113 #define __T_RA_BREAK_REQ__
114 /*
115 *
116 * CCDGEN:WriteStruct_Count==2402
117 */
118 typedef struct
119 {
120 U16 break_len; /*< 0: 2> Break Length */
121 U8 _align0; /*< 2: 1> alignment */
122 U8 _align1; /*< 3: 1> alignment */
123 } T_RA_BREAK_REQ;
124 #endif
125
126 #ifndef __T_RA_DATA_IND__
127 #define __T_RA_DATA_IND__
128 /*
129 *
130 * CCDGEN:WriteStruct_Count==2403
131 */
132 typedef struct
133 {
134 U8 fr_type; /*< 0: 1> frame type */
135 U8 status; /*< 1: 1> V24 Status */
136 U8 reserved; /*< 2: 1> Reserved */
137 U8 _align0; /*< 3: 1> alignment */
138 T_sdu sdu; /*< 4: ? > Service Data Unit */
139 } T_RA_DATA_IND;
140 #endif
141
142 #ifndef __T_RA_ACTIVATE_CNF__
143 #define __T_RA_ACTIVATE_CNF__
144 /*
145 *
146 * CCDGEN:WriteStruct_Count==2404
147 */
148 typedef struct
149 {
150 U8 ack_flg; /*< 0: 1> acknowledge flag */
151 U8 _align0; /*< 1: 1> alignment */
152 U8 _align1; /*< 2: 1> alignment */
153 U8 _align2; /*< 3: 1> alignment */
154 } T_RA_ACTIVATE_CNF;
155 #endif
156
157 #ifndef __T_RA_DEACTIVATE_CNF__
158 #define __T_RA_DEACTIVATE_CNF__
159 /*
160 *
161 * CCDGEN:WriteStruct_Count==2405
162 */
163 typedef struct
164 {
165 U8 dummy; /*< 0: 1> no parameters */
166 } T_RA_DEACTIVATE_CNF;
167 #endif
168
169 #ifndef __T_RA_BREAK_IND__
170 #define __T_RA_BREAK_IND__
171 /*
172 *
173 * CCDGEN:WriteStruct_Count==2406
174 */
175 typedef struct
176 {
177 U16 break_len; /*< 0: 2> Break Length */
178 U8 _align0; /*< 2: 1> alignment */
179 U8 _align1; /*< 3: 1> alignment */
180 } T_RA_BREAK_IND;
181 #endif
182
183 #ifndef __T_RA_DETECT_REQ__
184 #define __T_RA_DETECT_REQ__
185 /*
186 *
187 * CCDGEN:WriteStruct_Count==2407
188 */
189 typedef struct
190 {
191 U8 detect; /*< 0: 1> Detect mode */
192 U8 _align0; /*< 1: 1> alignment */
193 U8 _align1; /*< 2: 1> alignment */
194 U8 _align2; /*< 3: 1> alignment */
195 } T_RA_DETECT_REQ;
196 #endif
197
198 #ifndef __T_RA_MODIFY_REQ__
199 #define __T_RA_MODIFY_REQ__
200 /*
201 *
202 * CCDGEN:WriteStruct_Count==2408
203 */
204 typedef struct
205 {
206 U8 tra_rate; /*< 0: 1> transmission rate */
207 U8 user_rate; /*< 1: 1> user rate */
208 U8 _align0; /*< 2: 1> alignment */
209 U8 _align1; /*< 3: 1> alignment */
210 } T_RA_MODIFY_REQ;
211 #endif
212
213 #ifndef __T_RA_MODIFY_CNF__
214 #define __T_RA_MODIFY_CNF__
215 /*
216 *
217 * CCDGEN:WriteStruct_Count==2409
218 */
219 typedef struct
220 {
221 U8 dummy; /*< 0: 1> no parameters */
222 } T_RA_MODIFY_CNF;
223 #endif
224
225 #ifndef __T_RA_DATATRANS_REQ__
226 #define __T_RA_DATATRANS_REQ__
227 /*
228 *
229 * CCDGEN:WriteStruct_Count==2410
230 */
231 typedef struct
232 {
233 U8 dummy; /*< 0: 1> no parameters */
234 } T_RA_DATATRANS_REQ;
235 #endif
236
237 #ifndef __T_SHM_TICK_REQ__
238 #define __T_SHM_TICK_REQ__
239 /*
240 *
241 * CCDGEN:WriteStruct_Count==2411
242 */
243 typedef struct
244 {
245 U8 tick_dir; /*< 0: 1> tick direction */
246 U8 _align0; /*< 1: 1> alignment */
247 U8 _align1; /*< 2: 1> alignment */
248 U8 _align2; /*< 3: 1> alignment */
249 } T_SHM_TICK_REQ;
250 #endif
251
252 #ifndef __T_SHM_DATA_REQ__
253 #define __T_SHM_DATA_REQ__
254 /*
255 *
256 * CCDGEN:WriteStruct_Count==2412
257 */
258 typedef struct
259 {
260 U8 fr_type; /*< 0: 1> frame type */
261 U8 dtx_flg; /*< 1: 1> discontinuous transmission flag */
262 U8 status; /*< 2: 1> V24 Status */
263 U8 reserved; /*< 3: 1> Reserved */
264 T_sdu sdu; /*< 4: ? > Service Data Unit */
265 } T_SHM_DATA_REQ;
266 #endif
267
268 #ifndef __T_SHM_READ_REQ__
269 #define __T_SHM_READ_REQ__
270 /*
271 *
272 * CCDGEN:WriteStruct_Count==2413
273 */
274 typedef struct
275 {
276 U8 model; /*< 0: 1> transfer protocol model */
277 U8 _align0; /*< 1: 1> alignment */
278 U8 _align1; /*< 2: 1> alignment */
279 U8 _align2; /*< 3: 1> alignment */
280 } T_SHM_READ_REQ;
281 #endif
282
283 #ifndef __T_SHM_DATA_IND__
284 #define __T_SHM_DATA_IND__
285 /*
286 *
287 * CCDGEN:WriteStruct_Count==2414
288 */
289 typedef struct
290 {
291 U8 fr_type; /*< 0: 1> frame type */
292 U8 status; /*< 1: 1> V24 Status */
293 U8 reserved; /*< 2: 1> Reserved */
294 U8 _align0; /*< 3: 1> alignment */
295 T_sdu sdu; /*< 4: ? > Service Data Unit */
296 } T_SHM_DATA_IND;
297 #endif
298
299 #ifndef __T_SHM_BITSET_REQ__
300 #define __T_SHM_BITSET_REQ__
301 /*
302 *
303 * CCDGEN:WriteStruct_Count==2415
304 */
305 typedef struct
306 {
307 U8 id; /*< 0: 1> Bit Identity */
308 U8 _align0; /*< 1: 1> alignment */
309 U16 value; /*< 2: 2> Bits value */
310 } T_SHM_BITSET_REQ;
311 #endif
312
313 #ifndef __T_SHM_BITTEST_REQ__
314 #define __T_SHM_BITTEST_REQ__
315 /*
316 *
317 * CCDGEN:WriteStruct_Count==2416
318 */
319 typedef struct
320 {
321 U8 offset; /*< 0: 1> Address offset */
322 U8 _align0; /*< 1: 1> alignment */
323 U16 mask; /*< 2: 2> Bit mask */
324 } T_SHM_BITTEST_REQ;
325 #endif
326
327 #ifndef __T_SHM_BITTEST_IND__
328 #define __T_SHM_BITTEST_IND__
329 /*
330 *
331 * CCDGEN:WriteStruct_Count==2417
332 */
333 typedef struct
334 {
335 U16 value; /*< 0: 2> Bits value */
336 U8 _align0; /*< 2: 1> alignment */
337 U8 _align1; /*< 3: 1> alignment */
338 } T_SHM_BITTEST_IND;
339 #endif
340
341
342 #include "CDG_LEAVE.h"
343
344
345 #endif