Programming Info D2XXPG31.pdf
Programming Info D2XXPG31.pdf
Programming Info D2XXPG31.pdf
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
25 D2XX Programmer's Guide2.16 FT_SetRtsThis function sets the Request To Send (RTS) control signal.FT_STATUS FT_SetRts(FT_HANDLE ftHandle)ParametersftHandleHandle of the device.Return ValueFT_OK if successful, otherwise the return value is an FT error code.ExampleThis sample shows how to set RTS.FT_HANDLE ftHandle;FT_STATUS ftStatus;ftStatus = FT_Open(0, &ftHandle);if(ftStatus != FT_OK) {// FT_Open failedreturn;}ftStatus = FT_SetRts(ftHandle);if (ftStatus == FT_OK) {// FT_SetRts OK}else {// FT_SetRts failed}FT_Close(ftHandle);© Future Technology Devices International Ltd. 2005