X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi.h;h=9a6ec79ee0ba1e03ec681d7eb923b337880e5608;hp=debf053bb9735b3f7ab4448043a790426f616c31;hb=6e962b9a0991bf28571c7a143a532d83237c05af;hpb=add00ad60e3d942f23233a0a25a39cebfced5c15 diff --git a/src/ftdi.h b/src/ftdi.h index debf053..9a6ec79 100644 --- a/src/ftdi.h +++ b/src/ftdi.h @@ -332,6 +332,8 @@ enum ftdi_eeprom_value CHANNEL_C_RS485 = 53, CHANNEL_D_RS485 = 54, RELEASE_NUMBER = 55, + EXTERNAL_OSCILLATOR= 56, + USER_DATA_ADDR = 57, }; /** @@ -551,6 +553,8 @@ extern "C" int ftdi_get_eeprom_buf(struct ftdi_context *ftdi, unsigned char * buf, int size); int ftdi_set_eeprom_buf(struct ftdi_context *ftdi, const unsigned char * buf, int size); + int ftdi_set_eeprom_user_data(struct ftdi_context *ftdi, const char * buf, int size); + int ftdi_read_eeprom(struct ftdi_context *ftdi); int ftdi_read_chipid(struct ftdi_context *ftdi, unsigned int *chipid); int ftdi_write_eeprom(struct ftdi_context *ftdi);