int group3_schmitt;
int group3_slew;
+ int powersave;
+
/** 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;
GROUP3_SCHMITT = 36,
GROUP3_SLEW = 37,
CHIP_SIZE = 38,
- CHIP_TYPE = 39
+ CHIP_TYPE = 39,
+ POWER_SAVE = 40
};
/**
struct libusb_device *dev;
};
+#define POWER_SAVE_DISABLE_H 0x80
+
#define USE_SERIAL_NUM 0x08
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,
/** Driver Type. */
#define DRIVER_VCP 0x08
+#define DRIVER_VCPH 0x10 /* FT232H has moved the VCP bit */
#define USE_USB_VERSION_BIT 0x10