17wtap_open_return_val ttl_open(
wtap* wth,
int* err,
char** err_info);
19WS_DLL_PUBLIC
int ttl_get_address_iface_type(uint16_t addr);
20WS_DLL_PUBLIC
bool ttl_is_chb_addr(uint16_t addr);
21WS_DLL_PUBLIC uint16_t ttl_get_master_address(GHashTable* ht, uint16_t addr);
22WS_DLL_PUBLIC
const char* ttl_get_cascade_name(uint16_t addr);
23WS_DLL_PUBLIC
const char* ttl_get_device_name(uint16_t addr);
24WS_DLL_PUBLIC
const char* ttl_get_function_name(uint16_t addr);
26#define ttl_addr_get_cascade(x) (((x) >> 10) & 0x7)
27#define ttl_addr_get_device(x) (((x) >> 6) & 0xf)
28#define ttl_addr_get_function(x) ((x) & 0x3f)
40#define TTL_LOGFILE_INFO_SIZE 4080
69#define TTL_BUS_DATA_ENTRY 0
70#define TTL_COMMAND_ENTRY 1
71#define TTL_BUS_RESERVED1_ENTRY 2
72#define TTL_JOURNAL_ENTRY 3
73#define TTL_SEGMENTED_MESSAGE_ENTRY 4
74#define TTL_SEND_FRAME_ENTRY 5
75#define TTL_PADDING_ENTRY 6
76#define TTL_SOFTWARE_DATA_ENTRY 7
77#define TTL_DROPPED_FRAMES_ENTRY 8
80#define TTL_ADDRESS_MASK 0x1FFF
81#define TTL_SIZE_MASK 0x0FFF
82#define TTL_META1_TIMESTAMP_SOURCE_MASK 0x2000
83#define TTL_META1_COMPRESSED_FORMAT_MASK 0x4000
84#define TTL_META1_FRAME_DUPLICATION_MARKER_MASK 0x8000
86#define TTL_LOGGER_DEVICE_FPGA 0
87#define TTL_LOGGER_DEVICE_ATOM 1
88#define TTL_LOGGER_DEVICE_TRICORE1 2
89#define TTL_LOGGER_DEVICE_TRICORE2 3
90#define TTL_LOGGER_DEVICE_TRICORE3 4
91#define TTL_LOGGER_DEVICE_TDA4x 5
92#define TTL_LOGGER_DEVICE_FPGAA 6
93#define TTL_LOGGER_DEVICE_FPGAB 7
95#define TTL_LOGGER_FPGA_FUNCTION_CORE 0
96#define TTL_LOGGER_FPGA_FUNCTION_EXT0_MOST25 1
97#define TTL_LOGGER_FPGA_FUNCTION_EXT0_MOST150 2
98#define TTL_LOGGER_FPGA_FUNCTION_ETHA_CH1 3
99#define TTL_LOGGER_FPGA_FUNCTION_ETHB_CH1 4
100#define TTL_LOGGER_FPGA_FUNCTION_FLEXRAY1A 5
101#define TTL_LOGGER_FPGA_FUNCTION_FLEXRAY1B 6
102#define TTL_LOGGER_FPGA_FUNCTION_FLEXRAY2A 7
103#define TTL_LOGGER_FPGA_FUNCTION_FLEXRAY2B 8
104#define TTL_LOGGER_FPGA_FUNCTION_FLEXRAY3A 9
105#define TTL_LOGGER_FPGA_FUNCTION_FLEXRAY3B 10
106#define TTL_LOGGER_FPGA_FUNCTION_CAN1 11
107#define TTL_LOGGER_FPGA_FUNCTION_CAN2 12
108#define TTL_LOGGER_FPGA_FUNCTION_CAN3 13
109#define TTL_LOGGER_FPGA_FUNCTION_CAN4 14
110#define TTL_LOGGER_FPGA_FUNCTION_CAN12 15
111#define TTL_LOGGER_FPGA_FUNCTION_CAN6 16
112#define TTL_LOGGER_FPGA_FUNCTION_CAN7 17
113#define TTL_LOGGER_FPGA_FUNCTION_CAN10 18
114#define TTL_LOGGER_FPGA_FUNCTION_CAN11 19
115#define TTL_LOGGER_FPGA_FUNCTION_CAN8 20
116#define TTL_LOGGER_FPGA_FUNCTION_CAN5 21
117#define TTL_LOGGER_FPGA_FUNCTION_CAN9 22
118#define TTL_LOGGER_FPGA_FUNCTION_EXT1_MOST25 23
119#define TTL_LOGGER_FPGA_FUNCTION_LIN10 24
120#define TTL_LOGGER_FPGA_FUNCTION_LIN3 25
121#define TTL_LOGGER_FPGA_FUNCTION_LIN5 26
122#define TTL_LOGGER_FPGA_FUNCTION_LIN4 27
123#define TTL_LOGGER_FPGA_FUNCTION_LIN11 28
124#define TTL_LOGGER_FPGA_FUNCTION_LIN1 29
125#define TTL_LOGGER_FPGA_FUNCTION_LIN7 30
126#define TTL_LOGGER_FPGA_FUNCTION_LIN8 31
127#define TTL_LOGGER_FPGA_FUNCTION_LIN12 32
128#define TTL_LOGGER_FPGA_FUNCTION_LIN6 33
129#define TTL_LOGGER_FPGA_FUNCTION_LIN2 34
130#define TTL_LOGGER_FPGA_FUNCTION_LIN9 35
131#define TTL_LOGGER_FPGA_FUNCTION_CAN13 36
132#define TTL_LOGGER_FPGA_FUNCTION_CAN14 37
133#define TTL_LOGGER_FPGA_FUNCTION_CAN15 38
134#define TTL_LOGGER_FPGA_FUNCTION_CAN16 39
135#define TTL_LOGGER_FPGA_FUNCTION_CAN17 40
136#define TTL_LOGGER_FPGA_FUNCTION_CAN18 41
137#define TTL_LOGGER_FPGA_FUNCTION_CAN19 42
138#define TTL_LOGGER_FPGA_FUNCTION_CAN20 43
139#define TTL_LOGGER_FPGA_FUNCTION_CAN21 44
140#define TTL_LOGGER_FPGA_FUNCTION_CAN22 45
141#define TTL_LOGGER_FPGA_FUNCTION_CAN23 46
142#define TTL_LOGGER_FPGA_FUNCTION_CAN24 47
143#define TTL_LOGGER_FPGA_FUNCTION_ETHA_CH2 48
144#define TTL_LOGGER_FPGA_FUNCTION_ETHB_CH2 49
145#define TTL_LOGGER_FPGA_FUNCTION_ETHA_CH3 50
146#define TTL_LOGGER_FPGA_FUNCTION_ETHB_CH3 51
148#define TTL_LOGGER_FPGA_FUNCTION_CAN_EXT_BOARD 57
149#define TTL_LOGGER_FPGA_FUNCTION_RESERVED1 58
150#define TTL_LOGGER_FPGA_FUNCTION_SLOT_CTRL 59
151#define TTL_LOGGER_FPGA_FUNCTION_DRAM 60
152#define TTL_LOGGER_FPGA_FUNCTION_SINK 61
153#define TTL_LOGGER_FPGA_FUNCTION_POWER_AGENT 62
154#define TTL_LOGGER_FPGA_FUNCTION_PKT_GENERATOR 63
156#define TTL_LOGGER_ATOM_FUNCTION_FRAME_DEVICE 0
157#define TTL_LOGGER_ATOM_FUNCTION_CHARACTER_DEVICE 1
158#define TTL_LOGGER_ATOM_FUNCTION_ATMEL 2
159#define TTL_LOGGER_ATOM_FUNCTION_ETHA 3
160#define TTL_LOGGER_ATOM_FUNCTION_ETHB 4
162#define TTL_LOGGER_TRICORE_FUNCTION_FLEXRAYA 1
163#define TTL_LOGGER_TRICORE_FUNCTION_FLEXRAYB 2
165#define TTL_LOGGER_TRICORE1_FUNCTION_CORE 0
166#define TTL_LOGGER_TRICORE1_FUNCTION_FLEXRAY1A TTL_LOGGER_TRICORE_FUNCTION_FLEXRAYA
167#define TTL_LOGGER_TRICORE1_FUNCTION_FLEXRAY1B TTL_LOGGER_TRICORE_FUNCTION_FLEXRAYB
168#define TTL_LOGGER_TRICORE1_FUNCTION_CAN1 3
169#define TTL_LOGGER_TRICORE1_FUNCTION_CAN2 4
170#define TTL_LOGGER_TRICORE1_FUNCTION_CAN3 5
171#define TTL_LOGGER_TRICORE1_FUNCTION_CAN4 6
172#define TTL_LOGGER_TRICORE1_FUNCTION_ANALOGOUT1 7
173#define TTL_LOGGER_TRICORE1_FUNCTION_DIGITALOUT6 8
174#define TTL_LOGGER_TRICORE1_FUNCTION_DIGITALOUT5 9
175#define TTL_LOGGER_TRICORE1_FUNCTION_RESERVED1 10
176#define TTL_LOGGER_TRICORE1_FUNCTION_RESERVED2 11
177#define TTL_LOGGER_TRICORE1_FUNCTION_SERIAL1 12
178#define TTL_LOGGER_TRICORE1_FUNCTION_SERIAL2 13
179#define TTL_LOGGER_TRICORE1_FUNCTION_ANALOGIN6 14
180#define TTL_LOGGER_TRICORE1_FUNCTION_ANALOGIN8 15
181#define TTL_LOGGER_TRICORE1_FUNCTION_ANALOGIN14 16
182#define TTL_LOGGER_TRICORE1_FUNCTION_ANALOGIN15 17
183#define TTL_LOGGER_TRICORE1_FUNCTION_ANALOGIN11 18
184#define TTL_LOGGER_TRICORE1_FUNCTION_DIGITALIN8 19
185#define TTL_LOGGER_TRICORE1_FUNCTION_DIGITALIN10 20
186#define TTL_LOGGER_TRICORE1_FUNCTION_DIGITALIN12 21
187#define TTL_LOGGER_TRICORE1_FUNCTION_DIGITALIN13 22
188#define TTL_LOGGER_TRICORE1_FUNCTION_DIGITALIN11 23
189#define TTL_LOGGER_TRICORE1_FUNCTION_KL15IN 24
190#define TTL_LOGGER_TRICORE1_FUNCTION_KL30IN 25
191#define TTL_LOGGER_TRICORE1_FUNCTION_FLEXRAY1 26
192#define TTL_LOGGER_TRICORE1_FUNCTION_FLEXRAY1AB 27
194#define TTL_LOGGER_TRICORE2_FUNCTION_CORE 0
195#define TTL_LOGGER_TRICORE2_FUNCTION_FLEXRAY2A TTL_LOGGER_TRICORE_FUNCTION_FLEXRAYA
196#define TTL_LOGGER_TRICORE2_FUNCTION_FLEXRAY2B TTL_LOGGER_TRICORE_FUNCTION_FLEXRAYB
197#define TTL_LOGGER_TRICORE2_FUNCTION_CAN12 3
198#define TTL_LOGGER_TRICORE2_FUNCTION_CAN6 4
199#define TTL_LOGGER_TRICORE2_FUNCTION_CAN7 5
200#define TTL_LOGGER_TRICORE2_FUNCTION_CAN10 6
201#define TTL_LOGGER_TRICORE2_FUNCTION_ANALOGOUT2 7
202#define TTL_LOGGER_TRICORE2_FUNCTION_DIGITALOUT4 8
203#define TTL_LOGGER_TRICORE2_FUNCTION_DIGITALOUT3 9
204#define TTL_LOGGER_TRICORE2_FUNCTION_RESERVED1 10
205#define TTL_LOGGER_TRICORE2_FUNCTION_RESERVED2 11
206#define TTL_LOGGER_TRICORE2_FUNCTION_SERIAL3 12
207#define TTL_LOGGER_TRICORE2_FUNCTION_SERIAL4 13
208#define TTL_LOGGER_TRICORE2_FUNCTION_ANALOGIN4 14
209#define TTL_LOGGER_TRICORE2_FUNCTION_ANALOGIN3 15
210#define TTL_LOGGER_TRICORE2_FUNCTION_ANALOGIN5 16
211#define TTL_LOGGER_TRICORE2_FUNCTION_ANALOGIN9 17
212#define TTL_LOGGER_TRICORE2_FUNCTION_ANALOGIN7 18
213#define TTL_LOGGER_TRICORE2_FUNCTION_DIGITALIN14 19
214#define TTL_LOGGER_TRICORE2_FUNCTION_DIGITALIN9 20
215#define TTL_LOGGER_TRICORE2_FUNCTION_DIGITALIN15 21
216#define TTL_LOGGER_TRICORE2_FUNCTION_DIGITALIN7 22
217#define TTL_LOGGER_TRICORE2_FUNCTION_DIGITALIN6 23
219#define TTL_LOGGER_TRICORE2_FUNCTION_FLEXRAY2 26
220#define TTL_LOGGER_TRICORE2_FUNCTION_FLEXRAY2AB 27
222#define TTL_LOGGER_TRICORE3_FUNCTION_CORE 0
223#define TTL_LOGGER_TRICORE3_FUNCTION_FLEXRAY3A TTL_LOGGER_TRICORE_FUNCTION_FLEXRAYA
224#define TTL_LOGGER_TRICORE3_FUNCTION_FLEXRAY3B TTL_LOGGER_TRICORE_FUNCTION_FLEXRAYB
225#define TTL_LOGGER_TRICORE3_FUNCTION_CAN11 3
226#define TTL_LOGGER_TRICORE3_FUNCTION_CAN8 4
227#define TTL_LOGGER_TRICORE3_FUNCTION_CAN5 5
228#define TTL_LOGGER_TRICORE3_FUNCTION_CAN9 6
229#define TTL_LOGGER_TRICORE3_FUNCTION_ANALOGOUT3 7
230#define TTL_LOGGER_TRICORE3_FUNCTION_DIGITALOUT2 8
231#define TTL_LOGGER_TRICORE3_FUNCTION_DIGITALOUT1 9
232#define TTL_LOGGER_TRICORE3_FUNCTION_RESERVED1 10
233#define TTL_LOGGER_TRICORE3_FUNCTION_RESERVED2 11
234#define TTL_LOGGER_TRICORE3_FUNCTION_SERIAL5 12
235#define TTL_LOGGER_TRICORE3_FUNCTION_SERIAL6 13
236#define TTL_LOGGER_TRICORE3_FUNCTION_ANALOGIN1 14
237#define TTL_LOGGER_TRICORE3_FUNCTION_ANALOGIN2 15
238#define TTL_LOGGER_TRICORE3_FUNCTION_ANALOGIN10 16
239#define TTL_LOGGER_TRICORE3_FUNCTION_ANALOGIN12 17
240#define TTL_LOGGER_TRICORE3_FUNCTION_ANALOGIN13 18
241#define TTL_LOGGER_TRICORE3_FUNCTION_DIGITALIN5 19
242#define TTL_LOGGER_TRICORE3_FUNCTION_DIGITALIN4 20
243#define TTL_LOGGER_TRICORE3_FUNCTION_DIGITALIN3 21
244#define TTL_LOGGER_TRICORE3_FUNCTION_DIGITALIN2 22
245#define TTL_LOGGER_TRICORE3_FUNCTION_DIGITALIN1 23
247#define TTL_LOGGER_TRICORE3_FUNCTION_FLEXRAY3 26
248#define TTL_LOGGER_TRICORE3_FUNCTION_FLEXRAY3AB 27
250#define TTL_LOGGER_TDA4x_FUNCTION_CORE 0
251#define TTL_LOGGER_TDA4x_FUNCTION_CHARACTER_DEVICE 1
252#define TTL_LOGGER_TDA4x_FUNCTION_CAN1 2
253#define TTL_LOGGER_TDA4x_FUNCTION_CAN2 3
254#define TTL_LOGGER_TDA4x_FUNCTION_CAN3 4
255#define TTL_LOGGER_TDA4x_FUNCTION_CAN4 5
256#define TTL_LOGGER_TDA4x_FUNCTION_CAN5 6
257#define TTL_LOGGER_TDA4x_FUNCTION_CAN6 7
258#define TTL_LOGGER_TDA4x_FUNCTION_CAN7 8
259#define TTL_LOGGER_TDA4x_FUNCTION_CAN8 9
260#define TTL_LOGGER_TDA4x_FUNCTION_CAN9 10
261#define TTL_LOGGER_TDA4x_FUNCTION_CAN10 11
262#define TTL_LOGGER_TDA4x_FUNCTION_CAN11 12
263#define TTL_LOGGER_TDA4x_FUNCTION_SERIAL1 13
264#define TTL_LOGGER_TDA4x_FUNCTION_SERIAL2 14
265#define TTL_LOGGER_TDA4x_FUNCTION_SERIAL3 15
266#define TTL_LOGGER_TDA4x_FUNCTION_SERIAL4 16
267#define TTL_LOGGER_TDA4x_FUNCTION_SERIAL5 17
268#define TTL_LOGGER_TDA4x_FUNCTION_SERIAL6 18
269#define TTL_LOGGER_TDA4x_FUNCTION_ANALOGIN1 19
270#define TTL_LOGGER_TDA4x_FUNCTION_ANALOGIN2 20
271#define TTL_LOGGER_TDA4x_FUNCTION_ANALOGIN3 21
272#define TTL_LOGGER_TDA4x_FUNCTION_ANALOGIN4 22
273#define TTL_LOGGER_TDA4x_FUNCTION_ANALOGIN5 23
274#define TTL_LOGGER_TDA4x_FUNCTION_ANALOGIN6 24
275#define TTL_LOGGER_TDA4x_FUNCTION_ANALOGOUT1 25
276#define TTL_LOGGER_TDA4x_FUNCTION_ANALOGOUT2 26
277#define TTL_LOGGER_TDA4x_FUNCTION_KL15IN 27
278#define TTL_LOGGER_TDA4x_FUNCTION_KL30IN 28
280#define TTL_LOGGER_FPGAA_FUNCTION_CORE 0
281#define TTL_LOGGER_FPGAA_FUNCTION_CAN1 1
282#define TTL_LOGGER_FPGAA_FUNCTION_CAN2 2
283#define TTL_LOGGER_FPGAA_FUNCTION_CAN3 3
284#define TTL_LOGGER_FPGAA_FUNCTION_CAN4 4
285#define TTL_LOGGER_FPGAA_FUNCTION_CAN5 5
286#define TTL_LOGGER_FPGAA_FUNCTION_CAN6 6
287#define TTL_LOGGER_FPGAA_FUNCTION_CAN7 7
288#define TTL_LOGGER_FPGAA_FUNCTION_CAN8 8
289#define TTL_LOGGER_FPGAA_FUNCTION_CAN9 9
290#define TTL_LOGGER_FPGAA_FUNCTION_CAN10 10
291#define TTL_LOGGER_FPGAA_FUNCTION_CAN11 11
292#define TTL_LOGGER_FPGAA_FUNCTION_LIN1 12
293#define TTL_LOGGER_FPGAA_FUNCTION_LIN2 13
294#define TTL_LOGGER_FPGAA_FUNCTION_LIN3 14
295#define TTL_LOGGER_FPGAA_FUNCTION_LIN4 15
296#define TTL_LOGGER_FPGAA_FUNCTION_LIN5 16
297#define TTL_LOGGER_FPGAA_FUNCTION_LIN6 17
298#define TTL_LOGGER_FPGAA_FUNCTION_LIN7 18
299#define TTL_LOGGER_FPGAA_FUNCTION_LIN8 19
300#define TTL_LOGGER_FPGAA_FUNCTION_LIN9 20
301#define TTL_LOGGER_FPGAA_FUNCTION_LIN10 21
302#define TTL_LOGGER_FPGAA_FUNCTION_LIN11 22
303#define TTL_LOGGER_FPGAA_FUNCTION_LIN12 23
304#define TTL_LOGGER_FPGAA_FUNCTION_LIN13 24
305#define TTL_LOGGER_FPGAA_FUNCTION_LIN14 25
306#define TTL_LOGGER_FPGAA_FUNCTION_LIN15 26
307#define TTL_LOGGER_FPGAA_FUNCTION_LIN16 27
308#define TTL_LOGGER_FPGAA_FUNCTION_FLEXRAY1A 28
309#define TTL_LOGGER_FPGAA_FUNCTION_FLEXRAY1B 29
310#define TTL_LOGGER_FPGAA_FUNCTION_SERIAL1 30
311#define TTL_LOGGER_FPGAA_FUNCTION_SERIAL2 31
312#define TTL_LOGGER_FPGAA_FUNCTION_SERIAL3 32
313#define TTL_LOGGER_FPGAA_FUNCTION_SERIAL4 33
314#define TTL_LOGGER_FPGAA_FUNCTION_SERIAL5 34
315#define TTL_LOGGER_FPGAA_FUNCTION_SERIAL6 35
317#define TTL_LOGGER_FPGAA_FUNCTION_SLOT_CTRL 59
318#define TTL_LOGGER_FPGAA_FUNCTION_DRAM 60
319#define TTL_LOGGER_FPGAA_FUNCTION_SINK 61
320#define TTL_LOGGER_FPGAA_FUNCTION_POWER_AGENT 62
321#define TTL_LOGGER_FPGAA_FUNCTION_PKT_GENERATOR 63
323#define TTL_LOGGER_FPGAB_FUNCTION_ETHA_CH1 0
324#define TTL_LOGGER_FPGAB_FUNCTION_ETHB_CH1 1
325#define TTL_LOGGER_FPGAB_FUNCTION_AETHA_CH1 2
326#define TTL_LOGGER_FPGAB_FUNCTION_AETHB_CH1 3
327#define TTL_LOGGER_FPGAB_FUNCTION_AETHC_CH1 4
328#define TTL_LOGGER_FPGAB_FUNCTION_AETHD_CH1 5
329#define TTL_LOGGER_FPGAB_FUNCTION_AETHE_CH1 6
330#define TTL_LOGGER_FPGAB_FUNCTION_AETHF_CH1 7
331#define TTL_LOGGER_FPGAB_FUNCTION_AETHG_CH1 8
332#define TTL_LOGGER_FPGAB_FUNCTION_AETHH_CH1 9
333#define TTL_LOGGER_FPGAB_FUNCTION_AETHI_CH1 10
334#define TTL_LOGGER_FPGAB_FUNCTION_AETHJ_CH1 11
335#define TTL_LOGGER_FPGAB_FUNCTION_AETHK_CH1 12
336#define TTL_LOGGER_FPGAB_FUNCTION_AETHL_CH1 13
337#define TTL_LOGGER_FPGAB_FUNCTION_ETHA_CH2 14
338#define TTL_LOGGER_FPGAB_FUNCTION_ETHB_CH2 15
339#define TTL_LOGGER_FPGAB_FUNCTION_AETHA_CH2 16
340#define TTL_LOGGER_FPGAB_FUNCTION_AETHB_CH2 17
341#define TTL_LOGGER_FPGAB_FUNCTION_AETHC_CH2 18
342#define TTL_LOGGER_FPGAB_FUNCTION_AETHD_CH2 19
343#define TTL_LOGGER_FPGAB_FUNCTION_AETHE_CH2 20
344#define TTL_LOGGER_FPGAB_FUNCTION_AETHF_CH2 21
345#define TTL_LOGGER_FPGAB_FUNCTION_AETHG_CH2 22
346#define TTL_LOGGER_FPGAB_FUNCTION_AETHH_CH2 23
347#define TTL_LOGGER_FPGAB_FUNCTION_AETHI_CH2 24
348#define TTL_LOGGER_FPGAB_FUNCTION_AETHJ_CH2 25
349#define TTL_LOGGER_FPGAB_FUNCTION_AETHK_CH2 26
350#define TTL_LOGGER_FPGAB_FUNCTION_AETHL_CH2 27
352#define TTL_TAP_DEVICE_PT15_FPGA 0
353#define TTL_TAP_DEVICE_PT15_HPS_LINUX 1
354#define TTL_TAP_DEVICE_PT20_FPGA 2
355#define TTL_TAP_DEVICE_PT20_HPS_LINUX 3
356#define TTL_TAP_DEVICE_PC3_FPGA 4
357#define TTL_TAP_DEVICE_PC3_HPS_LINUX 5
358#define TTL_TAP_DEVICE_PC3_AURIX 6
359#define TTL_TAP_DEVICE_ZELDA_CANFD 7
360#define TTL_TAP_DEVICE_ZELDA_LIN 8
361#define TTL_TAP_DEVICE_ILLEGAL 15
363#define TTL_PT15_FPGA_FUNCTION_CORE 0
364#define TTL_PT15_FPGA_FUNCTION_CAN1 1
365#define TTL_PT15_FPGA_FUNCTION_CAN2 2
366#define TTL_PT15_FPGA_FUNCTION_BrdR1a 3
367#define TTL_PT15_FPGA_FUNCTION_BrdR1b 4
368#define TTL_PT15_FPGA_FUNCTION_BrdR2a 5
369#define TTL_PT15_FPGA_FUNCTION_BrdR2b 6
370#define TTL_PT15_FPGA_FUNCTION_BrdR3a 7
371#define TTL_PT15_FPGA_FUNCTION_BrdR3b 8
372#define TTL_PT15_FPGA_FUNCTION_BrdR4a 9
373#define TTL_PT15_FPGA_FUNCTION_BrdR4b 10
374#define TTL_PT15_FPGA_FUNCTION_BrdR5a 11
375#define TTL_PT15_FPGA_FUNCTION_BrdR5b 12
376#define TTL_PT15_FPGA_FUNCTION_BrdR6a 13
377#define TTL_PT15_FPGA_FUNCTION_BrdR6b 14
379#define TTL_PT15_FPGA_FUNCTION_MDIO 22
381#define TTL_PT20_FPGA_FUNCTION_CORE 0
382#define TTL_PT20_FPGA_FUNCTION_CAN1 1
383#define TTL_PT20_FPGA_FUNCTION_CAN2 2
384#define TTL_PT20_FPGA_FUNCTION_CAN3 3
385#define TTL_PT20_FPGA_FUNCTION_CAN4 4
386#define TTL_PT20_FPGA_FUNCTION_CAN5 5
387#define TTL_PT20_FPGA_FUNCTION_GbEth1a 6
388#define TTL_PT20_FPGA_FUNCTION_GbEth1b 7
389#define TTL_PT20_FPGA_FUNCTION_GbEth2a 8
390#define TTL_PT20_FPGA_FUNCTION_GbEth2b 9
391#define TTL_PT20_FPGA_FUNCTION_GbEth3a 10
392#define TTL_PT20_FPGA_FUNCTION_GbEth3b 11
394#define TTL_PT20_FPGA_FUNCTION_MDIO 22
396#define TTL_PC3_FPGA_FUNCTION_CORE 0
398#define TTL_PC3_FPGA_FUNCTION_BrdR1a 3
399#define TTL_PC3_FPGA_FUNCTION_BrdR1b 4
401#define TTL_PC3_AURIX_FUNCTION_CORE 0
402#define TTL_PC3_AURIX_FUNCTION_CAN1 1
403#define TTL_PC3_AURIX_FUNCTION_CAN2 2
404#define TTL_PC3_AURIX_FUNCTION_CAN3 3
405#define TTL_PC3_AURIX_FUNCTION_CAN4 4
406#define TTL_PC3_AURIX_FUNCTION_FLEXRAY1A 5
407#define TTL_PC3_AURIX_FUNCTION_FLEXRAY1B 6
408#define TTL_PC3_AURIX_FUNCTION_FLEXRAY2A 7
409#define TTL_PC3_AURIX_FUNCTION_FLEXRAY2B 8
410#define TTL_PC3_AURIX_FUNCTION_DIGITALIN1 9
411#define TTL_PC3_AURIX_FUNCTION_DIGITALIN2 10
412#define TTL_PC3_AURIX_FUNCTION_DIGITALOUT1 11
413#define TTL_PC3_AURIX_FUNCTION_DIGITALOUT2 12
415#define TTL_TAP_DEVICE_ZELDA_CORE 0
417#define TTL_TAP_DEVICE_ZELDA_CANFD1 1
418#define TTL_TAP_DEVICE_ZELDA_CANFD2 2
419#define TTL_TAP_DEVICE_ZELDA_CANFD3 3
420#define TTL_TAP_DEVICE_ZELDA_CANFD4 4
421#define TTL_TAP_DEVICE_ZELDA_CANFD5 5
422#define TTL_TAP_DEVICE_ZELDA_CANFD6 6
423#define TTL_TAP_DEVICE_ZELDA_CANFD7 7
424#define TTL_TAP_DEVICE_ZELDA_CANFD8 8
425#define TTL_TAP_DEVICE_ZELDA_CANFD9 9
426#define TTL_TAP_DEVICE_ZELDA_CANFD10 10
427#define TTL_TAP_DEVICE_ZELDA_CANFD11 11
428#define TTL_TAP_DEVICE_ZELDA_CANFD12 12
429#define TTL_TAP_DEVICE_ZELDA_CANFD13 13
430#define TTL_TAP_DEVICE_ZELDA_CANFD14 14
431#define TTL_TAP_DEVICE_ZELDA_CANFD15 15
433#define TTL_TAP_DEVICE_ZELDA_LIN1 1
434#define TTL_TAP_DEVICE_ZELDA_LIN2 2
435#define TTL_TAP_DEVICE_ZELDA_LIN3 3
436#define TTL_TAP_DEVICE_ZELDA_LIN4 4
437#define TTL_TAP_DEVICE_ZELDA_LIN5 5
438#define TTL_TAP_DEVICE_ZELDA_LIN6 6
439#define TTL_TAP_DEVICE_ZELDA_LIN7 7
440#define TTL_TAP_DEVICE_ZELDA_LIN8 8
441#define TTL_TAP_DEVICE_ZELDA_LIN9 9
442#define TTL_TAP_DEVICE_ZELDA_LIN10 10
443#define TTL_TAP_DEVICE_ZELDA_LIN11 11
444#define TTL_TAP_DEVICE_ZELDA_LIN12 12
445#define TTL_TAP_DEVICE_ZELDA_LIN13 13
446#define TTL_TAP_DEVICE_ZELDA_LIN14 14
447#define TTL_TAP_DEVICE_ZELDA_LIN15 15
448#define TTL_TAP_DEVICE_ZELDA_LIN16 16
449#define TTL_TAP_DEVICE_ZELDA_LIN17 17
450#define TTL_TAP_DEVICE_ZELDA_LIN18 18
451#define TTL_TAP_DEVICE_ZELDA_LIN19 19
452#define TTL_TAP_DEVICE_ZELDA_LIN20 20
453#define TTL_TAP_DEVICE_ZELDA_LIN21 21
454#define TTL_TAP_DEVICE_ZELDA_LIN22 22
455#define TTL_TAP_DEVICE_ZELDA_LIN23 23
456#define TTL_TAP_DEVICE_ZELDA_LIN24 24
458#define TTL_ETH_STATUS_VALID_FRAME 0x0001
459#define TTL_ETH_STATUS_CRC_ERROR_FRAME 0x0002
460#define TTL_ETH_STATUS_LENGTH_ERROR_FRAME 0x0004
461#define TTL_ETH_STATUS_PHY_ERROR_FRAME 0x0008
462#define TTL_ETH_STATUS_TX_ERROR_FRAME 0x0010
463#define TTL_ETH_STATUS_TX_FREEMEM_INFO_FRAME 0x2000
464#define TTL_ETH_STATUS_TX_FRAME 0x4000
465#define TTL_ETH_STATUS_PHY_STATUS 0x8000
467#define TTL_CAN_STATUS_VALID_BIT_MASK 0x0001
468#define TTL_CAN_STATUS_RTR_BIT_MASK 0x0002
469#define TTL_CAN_STATUS_BUSOFF_MASK 0x0004
470#define TTL_CAN_STATUS_MATCHED_BIT_MASK 0x0008
471#define TTL_CAN_STATUS_ERROR_CODE_MASK 0x0070
472#define TTL_CAN_STATUS_ERROR_CODE_POS 4
473#define TTL_CAN_STATUS_DLC_MASK 0x0F00
474#define TTL_CAN_STATUS_DLC_POS 8
475#define TTL_CAN_STATUS_IDE_BIT_MASK 0x1000
476#define TTL_CAN_STATUS_EDL_BIT_MASK 0x2000
477#define TTL_CAN_STATUS_BRS_BIT_MASK 0x4000
478#define TTL_CAN_STATUS_ESI_BIT_MASK 0x8000
480#define TTL_CAN_ERROR_NO_ERROR 0x0
481#define TTL_CAN_ERROR_STUFF_ERROR 0x1
482#define TTL_CAN_ERROR_FORM_ERROR 0x2
483#define TTL_CAN_ERROR_ACK_ERROR 0x3
484#define TTL_CAN_ERROR_BIT1_ERROR 0x4
485#define TTL_CAN_ERROR_BIT0_ERROR 0x5
486#define TTL_CAN_ERROR_CRC_ERROR 0x6
487#define TTL_CAN_ERROR_INVALID_DLC 0x7
489#define TTL_LIN_STATUS_PID_MASK 0x00ff
490#define TTL_LIN_ERROR_PARITY_ERROR 0x0100
491#define TTL_LIN_ERROR_SYNC_ERROR 0x0200
492#define TTL_LIN_ERROR_LIN2CHECKSUM_ERROR 0x0400
493#define TTL_LIN_ERROR_LIN1CHECKSUM_ERROR 0x0800
494#define TTL_LIN_ERROR_ANY_CHECKSUM (TTL_LIN_ERROR_LIN2CHECKSUM_ERROR | TTL_LIN_ERROR_LIN1CHECKSUM_ERROR)
495#define TTL_LIN_ERROR_NO_DATA_ERROR 0x1000
496#define TTL_LIN_ERROR_ABORT_ERROR 0x2000
498#define TTL_FLEXRAY_ITEM_MASK 0x0007
499#define TTL_FLEXRAY_ITEM_REGULAR_FRAME 0
500#define TTL_FLEXRAY_ITEM_ABORTED_FRAME 1
501#define TTL_FLEXRAY_ITEM_0_PULSE 2
502#define TTL_FLEXRAY_ITEM_1_PULSE 3
503#define TTL_FLEXRAY_ITEM_ERROR_INFORMATION 4
504#define TTL_FLEXRAY_MATCHED_MASK 0x0008
505#define TTL_FLEXRAY_FSS_ERROR_MASK 0x0020
506#define TTL_FLEXRAY_BSS_ERROR_MASK 0x0040
507#define TTL_FLEXRAY_FES_ERROR_MASK 0x0080
508#define TTL_FLEXRAY_FRAME_CRC_ERROR_MASK 0x0100
509#define TTL_FLEXRAY_HEADER_CRC_ERROR_MASK 0x0200
510#define TTL_FLEXRAY_IDLE_ERROR_MASK 0x0400
512#define TTL_SEGMENTED_MESSAGE_ENTRY_TYPE_INVALID 0x00000000
513#define TTL_SEGMENTED_MESSAGE_ENTRY_TYPE_FIRMWARE 0x00000001
514#define TTL_SEGMENTED_MESSAGE_ENTRY_TYPE_CONFIGURATION 0x00000002
515#define TTL_SEGMENTED_MESSAGE_ENTRY_TYPE_NESTED_FRAME 0x00000003