| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-ftdi-ft.h
1/* packet-ftdi-ft.h
2 * FTDI FTxxxx USB converters dissector
3 *
4 * Copyright 2019 Tomasz Mon
5 *
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
9 *
10 * SPDX-License-Identifier: GPL-2.0-or-later
11 */
12
13#ifndef __PACKET_FTDI_FT_H__
14#define __PACKET_FTDI_FT_H__
15
16typedef enum {
17 FTDI_CHIP_UNKNOWN,
18 FTDI_CHIP_FT8U232AM,
19 FTDI_CHIP_FT232B,
20 FTDI_CHIP_FT2232D,
21 FTDI_CHIP_FT232R,
22 FTDI_CHIP_FT2232H,
23 FTDI_CHIP_FT4232H,
24 FTDI_CHIP_FT232H,
25 FTDI_CHIP_X_SERIES,
26} FTDI_CHIP;
27
28typedef enum {
29 FTDI_INTERFACE_UNKNOWN,
30 FTDI_INTERFACE_A,
31 FTDI_INTERFACE_B,
32 FTDI_INTERFACE_C,
33 FTDI_INTERFACE_D,
34} FTDI_INTERFACE;
35
36 typedef struct _ftdi_mpsse_info_t {
37 uint32_t bus_id;
38 uint32_t device_address;
39 FTDI_CHIP chip;
40 FTDI_INTERFACE iface;
41 bool mcu_mode;
42} ftdi_mpsse_info_t;
43
44#endif /* __PACKET_FTDI_FT_H__ */
_ftdi_mpsse_info_t
Definition packet-ftdi-ft.h:36