This re-uses most of the code from the ta_parameter_format generator--this was factored out to "generic_sparse_struct.py".
2.6 KiB
2.6 KiB
1 | test_unit | ||
---|---|---|---|
2 | 0x00 | command_code | 0x00 |
3 | 0x01 | ||
4 | 0x02 | ||
5 | 0x03 | ||
6 | 0x04 | ||
7 | 0x05 | ||
8 | 0x06 | ||
9 | 0x07 | ||
10 | 0x08 | ||
11 | 0x09 | ||
12 | 0x0a | ||
13 | 0x0b | ||
14 | |||
15 | req_stat | ||
16 | 0x00 | command_code | 0x10 |
17 | 0x01 | ||
18 | 0x02 | starting_address | |
19 | 0x03 | ||
20 | 0x04 | allocation_length | |
21 | 0x05 | ||
22 | 0x06 | ||
23 | 0x07 | ||
24 | 0x08 | ||
25 | 0x09 | ||
26 | 0x0a | ||
27 | 0x0b | ||
28 | |||
29 | req_mode | ||
30 | 0x00 | command_code | 0x11 |
31 | 0x01 | ||
32 | 0x02 | starting_address | |
33 | 0x03 | ||
34 | 0x04 | allocation_length | |
35 | 0x05 | ||
36 | 0x06 | ||
37 | 0x07 | ||
38 | 0x08 | ||
39 | 0x09 | ||
40 | 0x0a | ||
41 | 0x0b | ||
42 | |||
43 | set_mode | ||
44 | 0x00 | command_code | 0x12 |
45 | 0x01 | ||
46 | 0x02 | starting_address | |
47 | 0x03 | ||
48 | 0x04 | allocation_length | |
49 | 0x05 | ||
50 | 0x06 | ||
51 | 0x07 | ||
52 | 0x08 | ||
53 | 0x09 | ||
54 | 0x0a | ||
55 | 0x0b | ||
56 | |||
57 | req_error | ||
58 | 0x00 | command_code | 0x13 |
59 | 0x01 | ||
60 | 0x02 | ||
61 | 0x03 | ||
62 | 0x04 | allocation_length | |
63 | 0x05 | ||
64 | 0x06 | ||
65 | 0x07 | ||
66 | 0x08 | ||
67 | 0x09 | ||
68 | 0x0a | ||
69 | 0x0b | ||
70 | |||
71 | get_toc | ||
72 | 0x00 | command_code | 0x14 |
73 | 0x01 | select | |
74 | 0x02 | ||
75 | 0x03 | allocation_length | |
76 | 0x04 | allocation_length | |
77 | 0x05 | ||
78 | 0x06 | ||
79 | 0x07 | ||
80 | 0x08 | ||
81 | 0x09 | ||
82 | 0x0a | ||
83 | 0x0b | ||
84 | |||
85 | req_ses | ||
86 | 0x00 | command_code | 0x15 |
87 | 0x01 | ||
88 | 0x02 | session_number | |
89 | 0x03 | ||
90 | 0x04 | allocation_length | |
91 | 0x05 | ||
92 | 0x06 | ||
93 | 0x07 | ||
94 | 0x08 | ||
95 | 0x09 | ||
96 | 0x0a | ||
97 | 0x0b | ||
98 | |||
99 | cd_open | ||
100 | 0x00 | command_code | 0x16 |
101 | 0x01 | ||
102 | 0x02 | ||
103 | 0x03 | ||
104 | 0x04 | ||
105 | 0x05 | ||
106 | 0x06 | ||
107 | 0x07 | ||
108 | 0x08 | ||
109 | 0x09 | ||
110 | 0x0a | ||
111 | 0x0b | ||
112 | |||
113 | cd_play | ||
114 | 0x00 | command_code | 0x20 |
115 | 0x01 | parameter_type | |
116 | 0x02 | starting_point | |
117 | 0x03 | starting_point | |
118 | 0x04 | starting_point | |
119 | 0x05 | ||
120 | 0x06 | repeat_times | |
121 | 0x07 | ||
122 | 0x08 | end_point | |
123 | 0x09 | end_point | |
124 | 0x0a | end_point | |
125 | 0x0b | ||
126 | |||
127 | cd_seek | ||
128 | 0x00 | command_code | 0x21 |
129 | 0x01 | parameter_type | |
130 | 0x02 | seek_point | |
131 | 0x03 | seek_point | |
132 | 0x04 | seek_point | |
133 | 0x05 | ||
134 | 0x06 | ||
135 | 0x07 | ||
136 | 0x08 | ||
137 | 0x09 | ||
138 | 0x0a | ||
139 | 0x0b | ||
140 | |||
141 | cd_scan | ||
142 | 0x00 | command_code | 0x22 |
143 | 0x01 | ||
144 | 0x02 | direction | |
145 | 0x03 | speed | |
146 | 0x04 | ||
147 | 0x05 | ||
148 | 0x06 | ||
149 | 0x07 | ||
150 | 0x08 | ||
151 | 0x09 | ||
152 | 0x0a | ||
153 | 0x0b | ||
154 | |||
155 | cd_read | ||
156 | 0x00 | command_code | 0x30 |
157 | 0x01 | data | |
158 | 0x02 | starting_address | |
159 | 0x03 | starting_address | |
160 | 0x04 | starting_address | |
161 | 0x05 | ||
162 | 0x06 | ||
163 | 0x07 | ||
164 | 0x08 | transfer_length | |
165 | 0x09 | transfer_length | |
166 | 0x0a | transfer_length | |
167 | 0x0b | ||
168 | |||
169 | cd_read2 | ||
170 | 0x00 | command_code | 0x31 |
171 | 0x01 | data | |
172 | 0x02 | starting_address | |
173 | 0x03 | starting_address | |
174 | 0x04 | starting_address | |
175 | 0x05 | ||
176 | 0x06 | transfer_length | |
177 | 0x07 | transfer_length | |
178 | 0x08 | next_address | |
179 | 0x09 | next_address | |
180 | 0x0a | next_address | |
181 | 0x0b | ||
182 | |||
183 | cd_scd | ||
184 | 0x00 | command_code | 0x40 |
185 | 0x01 | data_format | |
186 | 0x02 | ||
187 | 0x03 | allocation_length | |
188 | 0x04 | allocation_length | |
189 | 0x05 | ||
190 | 0x06 | ||
191 | 0x07 | ||
192 | 0x08 | ||
193 | 0x09 | ||
194 | 0x0a | ||
195 | 0x0b |