X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi.h;h=45fb90715b7d00ba8dbeac2649675ae7201c918a;hp=46032e719f7e8002324e7978cc5fca9475171395;hb=f9d69895e66cff6db384ffc915924ab950620b65;hpb=22d12cda4aed8d25fb79588a7261ca489db5ecd7 diff --git a/src/ftdi.h b/src/ftdi.h index 46032e7..45fb907 100644 --- a/src/ftdi.h +++ b/src/ftdi.h @@ -22,7 +22,7 @@ #define FTDI_DEFAULT_EEPROM_SIZE 128 /** FTDI chip type */ -enum ftdi_chip_type { TYPE_AM=0, TYPE_BM=1, TYPE_2232C=2, TYPE_R=3 }; +enum ftdi_chip_type { TYPE_AM=0, TYPE_BM=1, TYPE_2232C=2, TYPE_R=3, TYPE_2232H=4, TYPE_4232H=5 }; /** Parity mode for ftdi_set_line_property() */ enum ftdi_parity_type { NONE=0, ODD=1, EVEN=2, MARK=3, SPACE=4 }; /** Number of stop bits for ftdi_set_line_property() */ @@ -50,7 +50,9 @@ enum ftdi_interface { INTERFACE_ANY = 0, INTERFACE_A = 1, - INTERFACE_B = 2 + INTERFACE_B = 2, + INTERFACE_C = 3, + INTERFACE_D = 4 }; /* Shifting commands IN MPSSE Mode*/ @@ -346,7 +348,7 @@ extern "C" int ftdi_erase_eeprom(struct ftdi_context *ftdi); char *ftdi_get_error_string(struct ftdi_context *ftdi); - + #ifdef __cplusplus } #endif