Programming Info D2XXPG31.pdf
Programming Info D2XXPG31.pdf
Programming Info D2XXPG31.pdf
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
FT-Win32 API Functions865.9 FT_W32_EscapeCommFunctionPerform an extended function.BOOL FT_W32_EscapeCommFunction (FT_HANDLE ftHandle, DWORD dwFunc)ParametersftHandledwFuncCLRDTRCLRRTSSETDTRSETRTSSETBREAKCLRBREAKHandle of the device.The extended function to perform can be one of the followingvalues:Clear the DTR signalClear the RTS signalSet the DTR signalSet the RTS signalSet the BREAK conditionClear the BREAK conditionReturn ValueIf the function is successful, the return value is nonzero.If the function is unsuccessful, the return value is zero.RemarksLinux does not support the W32 API.ExampleThis example shows how to use this function.FT_HANDLE ftHandle; // setup by FT_W32_CreateFileFT_W32_EscapeCommFunction(ftHandle,CLRDTS);FT_W32_EscapeCommFunction(ftHandle,SETRTS);© Future Technology Devices International Ltd. 2005