X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=src%2Fftdi.h;h=24aec42f3ccba81b61b98ae8b2c9afbf35ad4d00;hb=ca41c8ee8dcc93a431fbc0b6746b5ea246d511f9;hp=6d6df150ec85b4bd15b3e3530a0215b0a6b96bfa;hpb=b1859923f302ce55de34bbd74538c72b5aef47f5;p=libftdi diff --git a/src/ftdi.h b/src/ftdi.h index 6d6df15..24aec42 100644 --- a/src/ftdi.h +++ b/src/ftdi.h @@ -221,9 +221,11 @@ struct ftdi_eeprom /* Special function of FT232R devices (and possibly others as well) */ /** CBUS pin function. See CBUS_xxx defines. */ int cbus_function[5]; - /** Select hight current drive. */ + /** Select hight current drive on R devices. */ + int high_current; + /** Select hight current drive on A channel (2232C */ int high_current_a; - /** Select hight current drive on B port (2232C). */ + /** Select hight current drive on B channel (2232C). */ int high_current_b; /** Select inversion of data lines (bitmask). */ int invert; @@ -359,12 +361,13 @@ enum ftdi_cbus_func {/* FIXME: Recheck value, especially the last */ #define IS_SCHMITT 8 /** Driver Type. */ -#define DRIVER_VCP 0x08 +#define DRIVER_D2XX 0x08 #define SUSPEND_DBUS7 0x80 /** High current drive. */ -#define HIGH_CURRENT_DRIVE 0x10 +#define HIGH_CURRENT_DRIVE 0x10 +#define HIGH_CURRENT_DRIVE_R 0x04 /** \brief Progress Info for streaming read