![Tews Technologies TDRV006-SW-82 User Manual Download Page 24](http://html1.mh-extra.com/html/tews-technologies/tdrv006-sw-82/tdrv006-sw-82_user-manual_1093641024.webp)
TDRV006-SW-82 - Linux Device Driver
Page 24 of 31
Input Event Functions
3.3
3.3.1 tdrv006WaitForLowToHigh
NAME
tdrv006WaitForLowToHigh – wait until a low to high transition occurs
SYNOPSIS
TDRV006_STATUS tdrv006WaitForLowToHigh
(
TDRV006_HANDLE
hdl,
int
inputLine,
int
timeout
)
DESCRIPTION
This function waits until a low to high transition 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 low to high 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.