21.07.2015 Views

Programming Info D2XXPG31.pdf

Programming Info D2XXPG31.pdf

Programming Info D2XXPG31.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

83 D2XX Programmer's Guide5.7 FT_W32_ClearCommBreakPuts the communications line in the non-BREAK state.BOOL FT_W32_ClearCommBreak (FT_HANDLE ftHandle)ParametersftHandleHandle of the device.Return 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 put the line in the non-BREAK state.FT_HANDLE ftHandle; // setup by FT_W32_CreateFileif (!FT_W32_ClearCommBreak(ftHandle)){// FT_W32_ClearCommBreak failed}else{// FT_W32_ClearCommBreak OK}© Future Technology Devices International Ltd. 2005

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!