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

FT_STATUS
FT_SetFlowControl
(FT_HANDLE ftHandle, USHORT usFlowControl, UCHAR uXon,UCHAR uXoff)




Parameters
ftHandle
Handle of the device.
usFlowControl
Must be one of FT_FLOW_NONE, FT_FLOW_RTS_CTS, FT_FLOW_DTR_DSR or FT_FLOW_XON_XOFF.
uXon
Character used to signal Xon. Only used if flow control is FT_FLOW_XON_XOFF.
uXoff
Character used to signal Xoff. Only used if flow control is FT_FLOW_XON_XOFF.




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