Download TPMC861-SW-42
Transcript
5.5.5 FIO_EXAR16XXX_SETBREAK
This I/O control function sets break state on transmit line. The function specific control parameter arg
is unused and will be ignored.
EXAMPLE
#include “tpmc861.h”
int
int
fd;
retval;
/*----------------------Set break on Tx line(s)
-----------------------*/
retval = ioctl(fd, FIO_EXAR16XXX_SETBREAK, 0);
if (retval != ERROR)
{
/* function succeeded */
}
else
{
/* handle the error */
}
TPMC861-SW-42 – VxWorks Device Driver
Page 36 of 42