ADLINK ACL-8216 User Manual
Page 66

58 • C/C++ Library
5.19 _8216_AD_INT_Status
@ Description
Since the _8216_AD_INT_Start() function is executed in background,
you can issue the function _8216_AD_INT_Status to check the status
of interrupt operation.
@ Syntax
int _8216_AD_INT_Status( int *status , int *count )
@ Argument
status:
status of the INT data transfer
0: A/D INT is completed
1: A/D INT is not completed
count:
current conversion count number.
@ Return Code
ERR_NoError
ERR_BoardNoInit
ERR_AD_INTNotSet
@ Example
See demo program 'AD_Demo2.C'
5.20 _8216_AD_INT_Stop
@ Description
This function is used to stop the interrupt data transfer function. After
executing this function, the internal AD trigger is disable and the AD
timer is stopped. The function returns the number of the data which
has been transferred, no matter whether the AD interrupt data transfer
is stopped by this function or by the _8216_AD_INT_Start() itself.
@ Syntax
int _8216_AD_INT_Stop( int *count )
@ Argument
count:
the numbers of A/D data which has been
transferred.
@ Return Code
ERR_NoError
ERR_BoardNoInit
ERR_AD_INTNotSet
@ Example
See demo program 'AD_Demo2.C'