APIS - AcQ Platform Interface Software
Programmer’s Manual Version: 2.1
AcQuisition Technology bv
P.O. Box 627, 5340 AP
Oss, The Netherlands
Page 21 of 77
3.4.11. WAIT FOR INTERRUPT
Function: apis_waitforirq
Description: Suspend current process. When a signal is received that is sent by an APIS interrupt
service routine return with APIS_NOERR as result code. If a signal is received not
caused by APIS (e.g. keyboard interrupt), the function returns with APIS_ESIG as
result code.
Note: Make sure interrupts received before apis_waitforirq is called are not missed.
Arguments: None
Returns: APIS error code
3.4.12. TIMED WAIT FOR INTERRUPT
Function: apis_waitforirqtmd
Description: Suspend current process for a requested time. When a signal is received that is sent
by an APIS interrupt service routine return with APIS_NOERR as result code. If a
signal is received not caused by APIS (e.g. keyboard interrupt), the function returns
with APIS_ESIG as result code. If the requested time has elapsed return with
APIS_ETIMER.
Note: Make sure interrupts received before apis_waitforirqtmd is called are not
missed.
Arguments: UINT32 time_out
Time-out in milliseconds.
Returns: APIS error code
Comments to this Manuals