![Tews Technologies TPMC866-SW-42 User Manual Download Page 35](http://html1.mh-extra.com/html/tews-technologies/tpmc866-sw-42/tpmc866-sw-42_user-manual_1093638035.webp)
TPMC866-SW-42 - VxWorks Device Driver
Page 35 of 37
4.5.12 FIORECONFIGURE
This I/O control function reconfigures the specific channel. The driver’s internal settings will be set to
the default configuration and the channel will be set up with its default settings.
The function specific control parameter
arg
is not used.
EXAMPLE
#include
"tpmc866.h”
int
fd;
int
result;
…
/*-----------------------------------------------------------
Reset the channel to its default values
-----------------------------------------------------------*/
result = ioctl (fd, FIORECONFIGURE, 0);
if (result == OK)
{
/* Success */
}
else
{
/* Function failed */
}