X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi.h;h=d42c8c2518263779249d9e749595e0b42061e3a2;hp=6d6df150ec85b4bd15b3e3530a0215b0a6b96bfa;hb=38801bf8af278a43149862ab7a07128f8c4d5aab;hpb=b1859923f302ce55de34bbd74538c72b5aef47f5 diff --git a/src/ftdi.h b/src/ftdi.h index 6d6df15..d42c8c2 100644 --- a/src/ftdi.h +++ b/src/ftdi.h @@ -182,8 +182,6 @@ struct ftdi_eeprom int self_powered; /** remote wakeup */ int remote_wakeup; - /** release */ - int release; /* Suspend on DBUS7 Low */ int suspend_dbus7; @@ -221,9 +219,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; @@ -326,7 +326,7 @@ struct ftdi_device_list enum ftdi_cbus_func {/* FIXME: Recheck value, especially the last */ CBUS_TXDEN = 0, CBUS_PWREN = 1, CBUS_RXLED = 2, CBUS_TXLED = 3, CBUS_TXRXLED = 4, CBUS_SLEEP = 5, CBUS_CLK48 = 6, CBUS_CLK24 = 7, CBUS_CLK12 = 8, CBUS_CLK6 = 9, - CBUS_IOMODE = 10, CBUS_BB_WR = 11, CBUS_BB_RD = 12, CBUS_BB_RXF = 13, CBUS_BB_TXE = 14}; + CBUS_IOMODE = 0xa, CBUS_BB_WR = 0xb, CBUS_BB_RD = 0xc, CBUS_BB = 0xd}; /** Invert TXD# */ #define INVERT_TXD 0x01 @@ -364,7 +364,8 @@ enum ftdi_cbus_func {/* FIXME: Recheck value, especially the last */ #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