libftdi1  1.0
ftdi_i.h
Go to the documentation of this file.
1 /***************************************************************************
2  ftdi_i.h - description
3  -------------------
4  begin : Don Sep 9 2011
5  copyright : (C) 2003-2013 by Intra2net AG and the libftdi developers
6  email : opensource@intra2net.com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
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; *
14  * *
15  ***************************************************************************
16 
17  Non public definitions here
18 
19 */
20 
21 /* Even on 93xx66 at max 256 bytes are used (AN_121)*/
22 #define FTDI_MAX_EEPROM_SIZE 256
23 
25 #define MAX_POWER_MILLIAMP_PER_UNIT 2
26 
31 {
33  int vendor_id;
36 
40 
45 
47 
48  /* Suspend on DBUS7 Low */
50 
57 
65  int max_power;
66 
68  char *manufacturer;
70  char *product;
72  char *serial;
73 
74  /* 2232D/H specific */
75  /* Hardware type, 0 = RS232 Uart, 1 = 245 FIFO, 2 = CPU FIFO,
76  4 = OPTO Isolate */
79  /* Driver Type, 1 = VCP */
84  /* 4232H specific */
89 
90  /* Special function of FT232R/FT232H devices (and possibly others as well) */
92  int cbus_function[10];
100  int invert;
101 
102  /*2232H/4432H Group specific values */
103  /* Group0 is AL on 2322H and A on 4232H
104  Group1 is AH on 2232H and B on 4232H
105  Group2 is BL on 2322H and C on 4232H
106  Group3 is BH on 2232H and C on 4232H*/
119 
121 
125 
128  int size;
129  /* EEPROM Type 0x46 for 93xx46, 0x56 for 93xx56 and 0x66 for 93xx66*/
130  int chip;
131  unsigned char buf[FTDI_MAX_EEPROM_SIZE];
132 };
133