Your browser does not allow scripts
Please click here to view a static table of contents without scripts
FT_SetDataCharacteristics
Return to Introduction  Previous page  Next page
This function sets the data characteristics for the device.

FT_STATUS
FT_SetDataCharacteristics
(FT_HANDLE ftHandle, UCHAR uWordLength, UCHAR uStopBits,UCHAR uParity)




Parameters
ftHandle
Handle of the device.
uWordLength
Number of bits per word - must be FT_BITS_8 or FT_BITS_7.
uStopBits
Number of stop bits - must be FT_STOP_BITS_1 or FT_STOP_BITS_2.
uParity
FT_PARITY_NONE, FT_PARITY_ODD, _FT_PARITY_EVEN, FT_PARITY_MARK, FT_PARITY SPACE.




Return Value
FT_OK if successful, otherwise the return value is an FT error code.