Your browser does not allow scripts
Please click here to view a static table of contents without scripts
FT_SetRts
Return to Introduction  Previous page  Next page
This function sets the Request To Send (RTS) control signal.

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);