![Tews Technologies TPMC866-SW-42 Скачать руководство пользователя страница 32](http://html1.mh-extra.com/html/tews-technologies/tpmc866-sw-42/tpmc866-sw-42_user-manual_1093638032.webp)
TPMC866-SW-42 - VxWorks Device Driver
Page 32 of 37
4.5.9 FIOCLEARBREAK
This I/O control function removes the break flag of the controller for the specific channel.
The function specific control parameter
arg
is not used.
EXAMPLE
#include
"tpmc866.h”
int
fd;
int
result;
…
/*-----------------------------------------------------------
Clear the break flag
-----------------------------------------------------------*/
result = ioctl (fd, FIOCLEARBREAK, 0);
if (result == OK)
{
/* Success */
}
else
{
/* Function failed */
}