![Tews Technologies TDRV006-SW-82 User Manual Download Page 28](http://html1.mh-extra.com/html/tews-technologies/tdrv006-sw-82/tdrv006-sw-82_user-manual_1093641028.webp)
TDRV006-SW-82 - Linux Device Driver
Page 28 of 31
3.3.3 tdrv006WaitForAnyTrans
NAME
tdrv006WaitForAnyTrans – wait until a transition occurs
SYNOPSIS
TDRV006_STATUS tdrv006ForAnyTrans
(
TDRV006_HANDLE
hdl,
int
inputLine,
int
timeout
)
DESCRIPTION
This function waits until a transition (high to low or low to high) occurs on the specified input line or the
specified timeout time has passed.
PARAMETER
hdl
This value specifies the device handle to the hardware module retrieved by a call to the
corresponding open-function.
inputLine
This argument specifies the input line which shall be observed for a transition. Allowed values
are 0 up to 63.
timeout
This argument specifies the time the function is willing to wait for the specified transition. If the
specified time has passed the function will return with an error. The timeout is specified in
milliseconds. A timeout value of ‘-1’ specifies that the function will never timeout.