ftdi_eeprom Struct Reference

FTDI eeprom structure. More...

`#include <ftdi_i.h>`

## Public Attributes

int | vendor_id
int | product_id
int | initialized_for_connected_device
int | self_powered
int | remote_wakeup
int | is_not_pnp
int | suspend_dbus7
int | in_is_isochronous
int | out_is_isochronous
int | suspend_pull_downs
int | use_serial
int | usb_version
int | use_usb_version
int | max_power
char * | manufacturer
char * | product
char * | serial
int | channel_a_type
int | channel_b_type
int | channel_a_driver
int | channel_b_driver
int | channel_c_driver
int | channel_d_driver
int | channel_a_rs485enable
int | channel_b_rs485enable
int | channel_c_rs485enable
int | channel_d_rs485enable
int | cbus_function [10]
int | high_current
int | high_current_a
int | high_current_b
int | invert
int | external_oscillator
int | group0_drive
int | group0_schmitt
int | group0_slew
int | group1_drive
int | group1_schmitt
int | group1_slew
int | group2_drive
int | group2_schmitt
int | group2_slew
int | group3_drive
int | group3_schmitt
int | group3_slew
int | powersave
int | clock_polarity
int | data_order
int | flow_control
int | user_data_addr
int | user_data_size
const char * | user_data
int | size
int | chip
unsigned char | buf [FTDI_MAX_EEPROM_SIZE]
int | release_number

## Detailed Description

FTDI eeprom structure.

Definition at line 28 of file ftdi_i.h.

## Member Data Documentation

## vendor_id

int ftdi_eeprom::vendor_id

vendor id

Definition at line 31 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_eeprom_initdefaults(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## product_id

int ftdi_eeprom::product_id

product id

Definition at line 33 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_eeprom_initdefaults(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## initialized_for_connected_device

int ftdi_eeprom::initialized_for_connected_device

Was the eeprom structure initialized for the actual connected device?

Definition at line 37 of file ftdi_i.h.

Referenced by ftdi_set_eeprom_value(), and ftdi_write_eeprom().

## self_powered

int ftdi_eeprom::self_powered

self powered

Definition at line 40 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## remote_wakeup

int ftdi_eeprom::remote_wakeup

remote wakeup

Definition at line 42 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## is_not_pnp

int ftdi_eeprom::is_not_pnp

Definition at line 44 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## suspend_dbus7

int ftdi_eeprom::suspend_dbus7

Definition at line 47 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## in_is_isochronous

int ftdi_eeprom::in_is_isochronous

input in isochronous transfer mode

Definition at line 50 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## out_is_isochronous

int ftdi_eeprom::out_is_isochronous

output in isochronous transfer mode

Definition at line 52 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## suspend_pull_downs

int ftdi_eeprom::suspend_pull_downs

suspend pull downs

Definition at line 54 of file ftdi_i.h.

Referenced by ftdi_eeprom_decode(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## use_serial

int ftdi_eeprom::use_serial

use serial

Definition at line 57 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_eeprom_initdefaults(), ftdi_eeprom_set_strings(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## usb_version

int ftdi_eeprom::usb_version

usb version

Definition at line 59 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_eeprom_initdefaults(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## use_usb_version

int ftdi_eeprom::use_usb_version

Use usb version on FT2232 devices

Definition at line 61 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## max_power

int ftdi_eeprom::max_power

maximum power

Definition at line 63 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_eeprom_initdefaults(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## manufacturer

char* ftdi_eeprom::manufacturer

manufacturer name

Definition at line 66 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_eeprom_get_strings(), ftdi_eeprom_initdefaults(), and ftdi_eeprom_set_strings().

## product

char* ftdi_eeprom::product

product name

Definition at line 68 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_eeprom_get_strings(), ftdi_eeprom_initdefaults(), and ftdi_eeprom_set_strings().

## serial

char* ftdi_eeprom::serial

serial number

Definition at line 70 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_eeprom_get_strings(), ftdi_eeprom_initdefaults(), and ftdi_eeprom_set_strings().

## channel_a_type

int ftdi_eeprom::channel_a_type

Definition at line 75 of file ftdi_i.h.

Referenced by ftdi_eeprom_decode(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## channel_b_type

int ftdi_eeprom::channel_b_type

Definition at line 76 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## channel_a_driver

int ftdi_eeprom::channel_a_driver

Definition at line 78 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## channel_b_driver

int ftdi_eeprom::channel_b_driver

Definition at line 79 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## channel_c_driver

int ftdi_eeprom::channel_c_driver

Definition at line 80 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## channel_d_driver

int ftdi_eeprom::channel_d_driver

Definition at line 81 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## channel_a_rs485enable

int ftdi_eeprom::channel_a_rs485enable

Definition at line 83 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## channel_b_rs485enable

int ftdi_eeprom::channel_b_rs485enable

Definition at line 84 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## channel_c_rs485enable

int ftdi_eeprom::channel_c_rs485enable

Definition at line 85 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## channel_d_rs485enable

int ftdi_eeprom::channel_d_rs485enable

Definition at line 86 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## cbus_function

int ftdi_eeprom::cbus_function[10]

CBUS pin function. See CBUS_xxx defines.

Definition at line 90 of file ftdi_i.h.

Referenced by ftdi_eeprom_initdefaults(), ftdi_get_eeprom_value(), ftdi_set_eeprom_value(), and set_ft232h_cbus().

## high_current

int ftdi_eeprom::high_current

Select hight current drive on R devices.

Definition at line 92 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## high_current_a

int ftdi_eeprom::high_current_a

Select hight current drive on A channel (2232C

Definition at line 94 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## high_current_b

int ftdi_eeprom::high_current_b

Select hight current drive on B channel (2232C).

Definition at line 96 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## invert

int ftdi_eeprom::invert

Select inversion of data lines (bitmask).

Definition at line 98 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## external_oscillator

int ftdi_eeprom::external_oscillator

Enable external oscillator.

Definition at line 100 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group0_drive

int ftdi_eeprom::group0_drive

Definition at line 107 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group0_schmitt

int ftdi_eeprom::group0_schmitt

Definition at line 108 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group0_slew

int ftdi_eeprom::group0_slew

Definition at line 109 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group1_drive

int ftdi_eeprom::group1_drive

Definition at line 110 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group1_schmitt

int ftdi_eeprom::group1_schmitt

Definition at line 111 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group1_slew

int ftdi_eeprom::group1_slew

Definition at line 112 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group2_drive

int ftdi_eeprom::group2_drive

Definition at line 113 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group2_schmitt

int ftdi_eeprom::group2_schmitt

Definition at line 114 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group2_slew

int ftdi_eeprom::group2_slew

Definition at line 115 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group3_drive

int ftdi_eeprom::group3_drive

Definition at line 116 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group3_schmitt

int ftdi_eeprom::group3_schmitt

Definition at line 117 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## group3_slew

int ftdi_eeprom::group3_slew

Definition at line 118 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## powersave

int ftdi_eeprom::powersave

Definition at line 120 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## clock_polarity

int ftdi_eeprom::clock_polarity

Definition at line 122 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## data_order

int ftdi_eeprom::data_order

Definition at line 123 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## flow_control

int ftdi_eeprom::flow_control

Definition at line 124 of file ftdi_i.h.

Referenced by ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## user_data_addr

int ftdi_eeprom::user_data_addr

user data

Definition at line 127 of file ftdi_i.h.

Referenced by ftdi_set_eeprom_value().

## user_data_size

int ftdi_eeprom::user_data_size

Definition at line 128 of file ftdi_i.h.

Referenced by ftdi_set_eeprom_user_data().

## user_data

const char* ftdi_eeprom::user_data

Definition at line 129 of file ftdi_i.h.

Referenced by ftdi_set_eeprom_user_data().

## size

int ftdi_eeprom::size

eeprom size in bytes. This doesn't get stored in the eeprom but is the only way to pass it to ftdi_eeprom_build.

Definition at line 133 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_eeprom_initdefaults(), ftdi_get_eeprom_buf(), ftdi_get_eeprom_value(), ftdi_read_eeprom(), ftdi_set_eeprom_buf(), ftdi_set_eeprom_user_data(), and ftdi_write_eeprom().

## chip

int ftdi_eeprom::chip

Definition at line 135 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_erase_eeprom(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

## buf

unsigned char ftdi_eeprom::buf[FTDI_MAX_EEPROM_SIZE]

Definition at line 136 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_get_eeprom_buf(), ftdi_read_eeprom(), ftdi_read_eeprom_location(), ftdi_set_eeprom_buf(), ftdi_set_eeprom_user_data(), and ftdi_write_eeprom().

## release_number

int ftdi_eeprom::release_number

device release number

Definition at line 139 of file ftdi_i.h.

Referenced by ftdi_eeprom_build(), ftdi_eeprom_decode(), ftdi_eeprom_initdefaults(), ftdi_get_eeprom_value(), and ftdi_set_eeprom_value().

The documentation for this struct was generated from the following file:

- ftdi_i.h