![Tews Technologies TIP675-SW-42 User Manual Download Page 25](http://html1.mh-extra.com/html/tews-technologies/tip675-sw-42/tip675-sw-42_user-manual_1093656025.webp)
TIP675-SW-42 – VxWorks Device Driver
Page 25 of 31
EXAMPLE
#include
"tip675.h"
…
int
fd;
int
retval;
T675_REMOVE_ISF_STR
RsfPar;
…
/*-------------------------------------------------------
Remove user supplied callback function from I/O line 24
Interrupt on hi transition
-------------------------------------------------------*/
RsfPar.io_line = 24;
RsfPar.edge = T675_POS_EDGE;
retval = ioctl(fd, FIO_T675_REMOVE_ISF, (int)&RsfPar);
if (retval == ERROR)
{
/* handle function specific error conditions */
}
…
ERRORS
S_t675Drv_ILINE
Specified I/O line out of range.
S_t675Drv_IPARAM
No valid transition parameter
SEE ALSO
ioLib, basic I/O routine - ioctl(), VxWorks Programmer's Guide: I/O System.