Programming Info D2XXPG31.pdf
Programming Info D2XXPG31.pdf
Programming Info D2XXPG31.pdf
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
21 D2XX Programmer's Guide2.12 FT_SetDataCharacteristicsThis function sets the data characteristics for the device.FT_STATUS FT_SetDataCharacteristics (FT_HANDLE ftHandle, UCHAR uWordLength,UCHAR uStopBits,UCHAR uParity)ParametersftHandleuWordLengthuStopBitsuParityHandle of the device.Number of bits per word - must be FT_BITS_8 or FT_BITS_7.Number of stop bits - must be FT_STOP_BITS_1 orFT_STOP_BITS_2.FT_PARITY_NONE, FT_PARITY_ODD, _FT_PARITY_EVEN,FT_PARITY_MARK, FT_PARITY SPACE.Return ValueFT_OK if successful, otherwise the return value is an FT error code.© Future Technology Devices International Ltd. 2005