User`s guide
C/C++ Library for DOS • 49
5.15 _8111_AD_INT_Status
@ Description
Since the _8111_AD_INT_Start() function executes in background,
you can issue the function _8111_AD_INT_Status to check the
status of interrupt operation.
@ Syntax
int _8111_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.16 _8111_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 _8111_AD_INT_Start()
itself.
@ Syntax
int _8111_AD_INT_Stop( int *count )
@ Argument:
count: the number of A/D data which has been
transferred.
@ Return Code:
ERR_NoError
ERR_BoardNoInit
ERR_AD_INTNotSet
@ Example:
See Demo Program 'AD_Demo2.C'