X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi.h;h=dd442df34a07596d482b5145810465e39878ac10;hp=cd3f63bf64f267f06641fc338b170f163586f58e;hb=837a71d6c580972b9638588a50cec5fbb035add6;hpb=ac4a82a5f51231ae1fc0e8b189245e7aecd2cad7 diff --git a/src/ftdi.h b/src/ftdi.h index cd3f63b..dd442df 100644 --- a/src/ftdi.h +++ b/src/ftdi.h @@ -272,6 +272,8 @@ struct ftdi_eeprom 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; @@ -384,7 +386,8 @@ enum ftdi_eeprom_value GROUP3_SCHMITT = 36, GROUP3_SLEW = 37, CHIP_SIZE = 38, - CHIP_TYPE = 39 + CHIP_TYPE = 39, + POWER_SAVE = 40 }; /** @@ -398,6 +401,8 @@ struct ftdi_device_list 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,