FT_STATUS
|
FT_SetRts
|
(FT_HANDLE ftHandle)
|
Parameters
ftHandle
|
Handle of the device.
|
Return Value
FT_OK if successful, otherwise the return value is an FT error code.
Example
This sample shows how to set RTS.
FT_HANDLE ftHandle;
FT_STATUS ftStatus;
ftStatus = FT_Open(0, &ftHandle);
if(ftStatus != FT_OK) {
// FT_Open failed
return;
}
ftStatus = FT_SetRts(ftHandle);
if (ftStatus == FT_OK) {
// FT_SetRts OK
}
else {
// FT_SetRts failed
}
FT_Close(ftHandle);