X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi_i.h;h=1bc740de1653dc99dca4bb0aab0c53c043531a5e;hp=19d8dd5db38c47af9f85aa52d1b2911956991eae;hb=46ed84b384e8cf1d7ae9a9b0758a08419d282a27;hpb=dcd7e8a307f75474afb23bd5da7048db91faeaa1 diff --git a/src/ftdi_i.h b/src/ftdi_i.h index 19d8dd5..1bc740d 100644 --- a/src/ftdi_i.h +++ b/src/ftdi_i.h @@ -2,8 +2,9 @@ ftdi_i.h - description ------------------- begin : Don Sep 9 2011 - copyright : (C) 2003-2014 by Intra2net AG and the libftdi developers + copyright : (C) 2003-2017 by Intra2net AG and the libftdi developers email : opensource@intra2net.com + SPDX-License-Identifier: LGPL-2.1-only ***************************************************************************/ /*************************************************************************** @@ -90,14 +91,16 @@ struct ftdi_eeprom /* Special function of FT232R/FT232H devices (and possibly others as well) */ /** CBUS pin function. See CBUS_xxx defines. */ int cbus_function[10]; - /** Select hight current drive on R devices. */ + /** Select high current drive on R devices. */ int high_current; - /** Select hight current drive on A channel (2232C */ + /** Select high current drive on A channel (2232C). */ int high_current_a; - /** Select hight current drive on B channel (2232C). */ + /** Select high current drive on B channel (2232C). */ int high_current_b; /** Select inversion of data lines (bitmask). */ int invert; + /** Enable external oscillator. */ + int external_oscillator; /*2232H/4432H Group specific values */ /* Group0 is AL on 2322H and A on 4232H @@ -123,6 +126,11 @@ struct ftdi_eeprom int data_order; int flow_control; + /** user data **/ + int user_data_addr; + int user_data_size; + const char *user_data; + /** eeprom size in bytes. This doesn't get stored in the eeprom but is the only way to pass it to ftdi_eeprom_build. */ int size;