libftdi1 1.4
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-2017 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{
36
40
45
47
48 /* Suspend on DBUS7 Low */
50
57
66
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) */
103
104 /*2232H/4432H Group specific values */
105 /* Group0 is AL on 2322H and A on 4232H
106 Group1 is AH on 2232H and B on 4232H
107 Group2 is BL on 2322H and C on 4232H
108 Group3 is BH on 2232H and C on 4232H*/
121
123
127
131 const char *user_data;
132
135 int size;
136 /* EEPROM Type 0x46 for 93xx46, 0x56 for 93xx56 and 0x66 for 93xx66*/
137 int chip;
138 unsigned char buf[FTDI_MAX_EEPROM_SIZE];
139
142};
143
#define FTDI_MAX_EEPROM_SIZE
Definition: ftdi_i.h:22
FTDI eeprom structure.
Definition: ftdi_i.h:31
int user_data_addr
Definition: ftdi_i.h:129
int self_powered
Definition: ftdi_i.h:42
int user_data_size
Definition: ftdi_i.h:130
unsigned char buf[FTDI_MAX_EEPROM_SIZE]
Definition: ftdi_i.h:138
int channel_b_driver
Definition: ftdi_i.h:81
int group3_slew
Definition: ftdi_i.h:120
int external_oscillator
Definition: ftdi_i.h:102
int channel_c_rs485enable
Definition: ftdi_i.h:87
int channel_b_type
Definition: ftdi_i.h:78
int is_not_pnp
Definition: ftdi_i.h:46
int group0_schmitt
Definition: ftdi_i.h:110
int invert
Definition: ftdi_i.h:100
int high_current_a
Definition: ftdi_i.h:96
int high_current_b
Definition: ftdi_i.h:98
int in_is_isochronous
Definition: ftdi_i.h:52
int use_usb_version
Definition: ftdi_i.h:63
int clock_polarity
Definition: ftdi_i.h:124
int group2_drive
Definition: ftdi_i.h:115
int group1_drive
Definition: ftdi_i.h:112
int channel_a_driver
Definition: ftdi_i.h:80
const char * user_data
Definition: ftdi_i.h:131
int channel_d_rs485enable
Definition: ftdi_i.h:88
int size
Definition: ftdi_i.h:135
int chip
Definition: ftdi_i.h:137
int suspend_pull_downs
Definition: ftdi_i.h:56
int initialized_for_connected_device
Definition: ftdi_i.h:39
int group3_schmitt
Definition: ftdi_i.h:119
int usb_version
Definition: ftdi_i.h:61
int flow_control
Definition: ftdi_i.h:126
int data_order
Definition: ftdi_i.h:125
int max_power
Definition: ftdi_i.h:65
int group1_slew
Definition: ftdi_i.h:114
int remote_wakeup
Definition: ftdi_i.h:44
char * product
Definition: ftdi_i.h:70
int group2_schmitt
Definition: ftdi_i.h:116
char * serial
Definition: ftdi_i.h:72
int release_number
Definition: ftdi_i.h:141
int product_id
Definition: ftdi_i.h:35
int cbus_function[10]
Definition: ftdi_i.h:92
int group2_slew
Definition: ftdi_i.h:117
int group0_slew
Definition: ftdi_i.h:111
int out_is_isochronous
Definition: ftdi_i.h:54
int group0_drive
Definition: ftdi_i.h:109
int use_serial
Definition: ftdi_i.h:59
int group1_schmitt
Definition: ftdi_i.h:113
int channel_a_rs485enable
Definition: ftdi_i.h:85
char * manufacturer
Definition: ftdi_i.h:68
int powersave
Definition: ftdi_i.h:122
int high_current
Definition: ftdi_i.h:94
int channel_c_driver
Definition: ftdi_i.h:82
int channel_a_type
Definition: ftdi_i.h:77
int group3_drive
Definition: ftdi_i.h:118
int channel_d_driver
Definition: ftdi_i.h:83
int channel_b_rs485enable
Definition: ftdi_i.h:86
int vendor_id
Definition: ftdi_i.h:33
int suspend_dbus7
Definition: ftdi_i.h:49