TPMC866-SW-42 - VxWorks Device Driver
Page 30 of 37
4.5.7 FIODISABLEHWHS
This I/O control function disables hardware handshaking for the specific channel.
The function specific control parameter
arg
is not used.
This function is only available for TPMC866-10, used for other types will lead to an error.
EXAMPLE
#include
"tpmc866.h”
int
fd;
int
result;
…
/*-----------------------------------------------------------
Disable hardware handshaking
-----------------------------------------------------------*/
result = ioctl (fd, FIODISABLEHWHS, 0);
if (result == OK)
{
/* Success */
}
else
{
/* Function failed */
}