1 /***************************************************************************
5 copyright : (C) 2003-2011 by Intra2net AG and the libftdi developers
6 email : opensource@intra2net.com
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU Lesser General Public License *
13 * version 2.1 as published by the Free Software Foundation; *
15 ***************************************************************************
17 Non public definitions here
21 /* Even on 93xx66 at max 256 bytes are used (AN_121)*/
22 #define FTDI_MAX_EEPROM_SIZE 256
25 \brief FTDI eeprom structure
34 /** Was the eeprom structure initialized for the actual
36 int initialized_for_connected_device;
45 /* Suspend on DBUS7 Low */
48 /** input in isochronous transfer mode */
49 int in_is_isochronous;
50 /** output in isochronous transfer mode */
51 int out_is_isochronous;
52 /** suspend pull downs */
53 int suspend_pull_downs;
59 /** Use usb version on FT2232 devices*/
64 /** manufacturer name */
71 /* 2232D/H(/FT4432H?) specific */
72 /* Hardware type, 0 = RS232 Uart, 1 = 245 FIFO, 2 = CPU FIFO,
76 /* Driver Type, 1 = VCP */
80 /* Special function of FT232R/FT232H devices (and possibly others as well) */
81 /** CBUS pin function. See CBUS_xxx defines. */
82 int cbus_function[10];
83 /** Select hight current drive on R devices. */
85 /** Select hight current drive on A channel (2232C */
87 /** Select hight current drive on B channel (2232C). */
89 /** Select inversion of data lines (bitmask). */
92 /*2232H/4432H Group specific values */
93 /* Group0 is AL on 2322H and A on 4232H
94 Group1 is AH on 2232H and B on 4232H
95 Group2 is BL on 2322H and C on 4232H
96 Group3 is BH on 2232H and C on 4232H*/
116 /** eeprom size in bytes. This doesn't get stored in the eeprom
117 but is the only way to pass it to ftdi_eeprom_build. */
119 /* EEPROM Type 0x46 for 93xx46, 0x56 for 93xx56 and 0x66 for 93xx66*/
121 unsigned char buf[FTDI_MAX_EEPROM_SIZE];