TPMC866-SW-42 - VxWorks Device Driver
Page 31 of 37
4.5.8 FIOSETBREAK
This I/O control function sets the break bit of the controller for the specific channel. This will produce a
break signal on the transmit line.
The function specific control parameter
arg
is not used.
EXAMPLE
#include
"tpmc866.h”
int
fd;
int
result;
…
/*-----------------------------------------------------------
Set the break flag
-----------------------------------------------------------*/
result = ioctl (fd, FIOSETBREAK, 0);
if (result == OK)
{
/* Success */
}
else
{
/* Function failed */
}