annotate cdg-hybrid/cdginc/p_dio.h @ 72:4484ab3f6ab3

FFS interrupt voodoo: made original TMS470 approach work with gcc
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Jul 2018 03:35:25 +0000
parents 6da1d56a96a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 +--------------------------------------------------------------------------+
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 | PROJECT : PROTOCOL STACK |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 | FILE : p_dio.h |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 | SOURCE : "sap\dio.pdf" |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 | LastModified : "2004-03-19" |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 | IdAndVersion : "..." |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 | SrcFileTime : "Thu Nov 29 09:39:48 2007" |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 +--------------------------------------------------------------------------+
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 /* PRAGMAS
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 * PREFIX : NONE
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 * ENABLE_GROUP: NO
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 * CAPITALIZE_TYPENAME: NO
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 #ifndef P_DIO_H
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 #define P_DIO_H
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 #define CDG_ENTER__P_DIO_H
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 #define CDG_ENTER__FILENAME _P_DIO_H
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 #define CDG_ENTER__P_DIO_H__FILE_TYPE CDGINC
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 #define CDG_ENTER__P_DIO_H__LAST_MODIFIED _2004_03_19
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 #define CDG_ENTER__P_DIO_H__ID_AND_VERSION _
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 #define CDG_ENTER__P_DIO_H__SRC_FILE_TIME _Thu_Nov_29_09_39_48_2007
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 #include "CDG_ENTER.h"
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 #undef CDG_ENTER__P_DIO_H
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 #undef CDG_ENTER__FILENAME
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 #include "p_dio.val"
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 #ifndef __T_DIO_DCB_SER__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 #define __T_DIO_DCB_SER__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 * Structured Element
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 * CCDGEN:WriteStruct_Count==1225
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 U32 device_type; /*< 0: 4> device identifier with general capability information */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 U8 sleep_mode; /*< 4: 1> enter sleep mode is possible or not */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 U8 _align0; /*< 5: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 U8 _align1; /*< 6: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 U8 _align2; /*< 7: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 U32 baudrate; /*< 8: 4> user set baudrate */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 U32 char_frame; /*< 12: 4> supported character framing */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 U32 flow_control; /*< 16: 4> supported modes of flow control */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 U8 xon; /*< 20: 1> set/reset XON for flow control */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 U8 xoff; /*< 21: 1> set/reset XOFF for flow control */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 U8 esc_char; /*< 22: 1> ASCII character which is used in an escape sequence */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 U8 _align3; /*< 23: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 U16 guard_period; /*< 24: 2> duration value for escape sequence */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 U8 _align4; /*< 26: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 U8 _align5; /*< 27: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 } T_DIO_DCB_SER;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 #ifndef __T_DIO_DCB_SER_MUX__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 #define __T_DIO_DCB_SER_MUX__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 * Structured Element
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 * CCDGEN:WriteStruct_Count==1226
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 U32 device_type; /*< 0: 4> device identifier with general capability information */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 U8 sleep_mode; /*< 4: 1> enter sleep mode is possible or not */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 U8 _align0; /*< 5: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 U8 _align1; /*< 6: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 U8 _align2; /*< 7: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 U32 baudrate; /*< 8: 4> user set baudrate */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 U32 char_frame; /*< 12: 4> supported character framing */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 U32 flow_control; /*< 16: 4> supported modes of flow control */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 U8 xon; /*< 20: 1> set/reset XON for flow control */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 U8 xoff; /*< 21: 1> set/reset XOFF for flow control */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 U8 esc_char; /*< 22: 1> ASCII character which is used in an escape sequence */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90 U8 _align3; /*< 23: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 U16 guard_period; /*< 24: 2> duration value for escape sequence */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 U8 _align4; /*< 26: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 U8 _align5; /*< 27: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94 U32 device_mode; /*< 28: 4> work mode of device */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 U32 mux_mode; /*< 32: 4> supported multiplexer modes */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 U16 n1; /*< 36: 2> max frame size of mux frame */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 U8 n2; /*< 38: 1> max number of retransmissions */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 U8 t1; /*< 39: 1> acknowledgement timer */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 U8 t2; /*< 40: 1> response timer */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100 U8 t3; /*< 41: 1> wake up response timer */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101 U8 k; /*< 42: 1> windows size */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
102 U8 _align6; /*< 43: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 } T_DIO_DCB_SER_MUX;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106 #ifndef __T_DIO_DCB_PKT__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107 #define __T_DIO_DCB_PKT__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 * Structured Element
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110 * CCDGEN:WriteStruct_Count==1227
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
111 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
114 U32 device_type; /*< 0: 4> device identifier with general capability information */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
115 U8 sleep_mode; /*< 4: 1> enter sleep mode is possible or not */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
116 U8 _align0; /*< 5: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
117 U8 _align1; /*< 6: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
118 U8 _align2; /*< 7: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
119 } T_DIO_DCB_PKT;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
120 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
121
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
122 #ifndef __T_DIO_CAP_SER__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
123 #define __T_DIO_CAP_SER__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
124 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
125 * serial device capabiliity structures
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
126 * CCDGEN:WriteStruct_Count==1228
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
127 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
128 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
129 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
130 U32 device_type; /*< 0: 4> device identifier with general capability information */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
131 U32 device_flags; /*< 4: 4> driver features like power saving state */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
132 U16 mtu_control; /*< 8: 2> max length of copied control information bytes by the driver */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
133 U16 mtu_data; /*< 10: 2> max size of packet data which the driver can transfer */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
134 U32 driver_name; /*< 12: 4> pointer to driver name */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
135 U32 baudrate_auto; /*< 16: 4> automatically detected driver baudrates */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
136 U32 baudrate_fixed; /*< 20: 4> driver baudrates which cannot be detected automatically */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
137 U32 char_frame; /*< 24: 4> supported character framing */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
138 U32 flow_control; /*< 28: 4> supported modes of flow control */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
139 U32 ser_flags; /*< 32: 4> additional supported features of serial/mux devices */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
140 } T_DIO_CAP_SER;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
141 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
142
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
143 #ifndef __T_DIO_CAP_SER_MUX__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
144 #define __T_DIO_CAP_SER_MUX__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
145 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
146 * Structured Element
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
147 * CCDGEN:WriteStruct_Count==1229
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
148 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
149 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
150 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
151 U32 device_type; /*< 0: 4> device identifier with general capability information */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
152 U32 device_flags; /*< 4: 4> driver features like power saving state */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
153 U16 mtu_control; /*< 8: 2> max length of copied control information bytes by the driver */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
154 U16 mtu_data; /*< 10: 2> max size of packet data which the driver can transfer */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
155 U32 driver_name; /*< 12: 4> pointer to driver name */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
156 U32 baudrate_auto; /*< 16: 4> automatically detected driver baudrates */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
157 U32 baudrate_fixed; /*< 20: 4> driver baudrates which cannot be detected automatically */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
158 U32 char_frame; /*< 24: 4> supported character framing */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
159 U32 flow_control; /*< 28: 4> supported modes of flow control */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
160 U32 ser_flags; /*< 32: 4> additional supported features of serial/mux devices */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
161 U32 mux_mode; /*< 36: 4> supported multiplexer modes */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
162 } T_DIO_CAP_SER_MUX;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
163 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
164
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
165 #ifndef __T_DIO_CAP_PKT__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
166 #define __T_DIO_CAP_PKT__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
167 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
168 * Structured Element
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
169 * CCDGEN:WriteStruct_Count==1230
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
170 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
171 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
172 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
173 U32 device_type; /*< 0: 4> device identifier with general capability information */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
174 U32 device_flags; /*< 4: 4> driver features like power saving state */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
175 U16 mtu_control; /*< 8: 2> max length of copied control information bytes by the driver */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
176 U16 mtu_data; /*< 10: 2> max size of packet data which the driver can transfer */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
177 U32 driver_name; /*< 12: 4> pointer to driver name */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
178 } T_DIO_CAP_PKT;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
179 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
180
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
181 #ifndef __T_DIO_CAP__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
182 #define __T_DIO_CAP__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
183 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
184 * device capabiliity structures
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
185 * CCDGEN:WriteStruct_Count==1231
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
186 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
187 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
188 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
189 U32 device_type; /*< 0: 4> device identifier with general capability information */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
190 U32 device_flags; /*< 4: 4> driver features like power saving state */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
191 U16 mtu_control; /*< 8: 2> max length of copied control information bytes by the driver */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
192 U16 mtu_data; /*< 10: 2> max size of packet data which the driver can transfer */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
193 U32 driver_name; /*< 12: 4> pointer to driver name */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
194 } T_DIO_CAP;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
195 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
196
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
197 #ifndef __T_DIO_DCB__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
198 #define __T_DIO_DCB__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
199 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
200 * all elements of driver configuration parameter
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
201 * CCDGEN:WriteStruct_Count==1232
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
202 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
203 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
204 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
205 U32 device_type; /*< 0: 4> device identifier with general capability information */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
206 U8 sleep_mode; /*< 4: 1> enter sleep mode is possible or not */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
207 U8 _align0; /*< 5: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
208 U8 _align1; /*< 6: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
209 U8 _align2; /*< 7: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
210 } T_DIO_DCB;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
211 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
212
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
213 #ifndef __T_dio_segment__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
214 #define __T_dio_segment__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
215 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
216 * Structured Element
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
217 * CCDGEN:WriteStruct_Count==1233
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
218 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
219 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
220 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
221 U8 _align0; /*< 0: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
222 U8 _align1; /*< 1: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
223 U16 c_data; /*< 2: 2> counter */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
224 U8 *ptr_data; /*< 4: 4> pointer to pointer to the first byte of the data buffer segment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
225 } T_dio_segment;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
226 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
227
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
228 #ifndef __T_dio_buffer__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
229 #define __T_dio_buffer__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
230 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
231 * data buffer
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
232 * CCDGEN:WriteStruct_Count==1234
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
233 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
234 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
235 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
236 U16 length; /*< 0: 2> len of dio_ctrl */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
237 U8 _align0; /*< 2: 1> alignment */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
238 U8 c_dio_segment; /*< 3: 1> counter */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
239 T_dio_segment *ptr_dio_segment; /*< 4: 4> pointer to Structured Element */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
240 } T_dio_buffer;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
241 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
242
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
243 #ifndef __T_DIO_CTRL__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
244 #define __T_DIO_CTRL__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
245 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
246 * Structured Element
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
247 * CCDGEN:WriteStruct_Count==1235
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
248 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
249 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
250 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
251 U16 control_type; /*< 0: 2> data types */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
252 U16 length; /*< 2: 2> len of dio_ctrl */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
253 } T_DIO_CTRL;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
254 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
255
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
256 #ifndef __T_DIO_CTRL_LINES__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
257 #define __T_DIO_CTRL_LINES__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
258 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
259 * Structured Element
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
260 * CCDGEN:WriteStruct_Count==1236
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
261 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
262 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
263 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
264 U16 control_type; /*< 0: 2> data types */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
265 U16 length; /*< 2: 2> len of dio_ctrl */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
266 U32 state; /*< 4: 4> line states */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
267 } T_DIO_CTRL_LINES;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
268 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
269
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
270 #ifndef __T_DIO_CTRL_MUX__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
271 #define __T_DIO_CTRL_MUX__
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
272 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
273 * Structured Element
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
274 * CCDGEN:WriteStruct_Count==1237
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
275 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
276 typedef struct
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
277 {
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
278 U16 control_type; /*< 0: 2> data types */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
279 U16 length; /*< 2: 2> len of dio_ctrl */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
280 U32 state; /*< 4: 4> line states */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
281 } T_DIO_CTRL_MUX;
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
282 #endif
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
283
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
284
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
285 /*
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
286 * End of substructure section, begin of primitive definition section
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
287 */
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
288
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
289
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
290 #include "CDG_LEAVE.h"
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
291
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
292
6da1d56a96a3 cdg-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
293 #endif