User`s guide
62 C/C++ Library
5.24 _8316_AD_DMA_Stop
@ Description
This function is used to stop the DMA data transferring. After executing
this function, the internal A/D trigger is disable and the A/D timer ( timer
#1 and #2) is stopped. The function returns the number of the data which
has been transferred, no matter if the A/D DMA data transfer is stopped
by this function or by the DMA terminal count ISR.
@ Syntax
I16 _8316_AD_DMA_Stop( U16 *count )
@ Argument
count: the number of A/D converted data which has been transferred.
@ Return Code
ERR_NoError, ERR_BoardNoInit, ERR_AD_DMANotSet
@ Example
See Demo Program 'AD_DEMO3.C'
5.25 _8316_AD_INT_Start
@ Description
The function will perform A/D conversion N times with interrupt data
transfer by using pacer trigger. It takes place in the background which will
not stop until the Nth conversion has completed or your program
executes _8316_AD_INT_Stop() function to stop the process. After
executing this function, it is necessary to check the status of the operation
by using the function _8316_AD_INT_Status().
@ Syntax
I16 _8316_INT_Start( U8 int_mode, Boolean auto_scan,
U8 ad_ch_no, U8 ad_range, U8 irq_no, U16 int_count,
I16 *ad_buf)