ADLINK ACL-8112 Series User Manual

Page 83

Advertising
background image

C Language Library

• 75

7.16 _8112_AD_DMA_Stop

Description

This function is used to stop the DMA data transfer. After executing this
function, the internal A/D trigger is disabled and the A/D timer ( timer #1
and #2) is stopped. The function returns the number of data’s which
have been transferred, no matter if the A/D DMA data transfer is
stopped by this function or by the DMA terminal count ISR.

Syntax

int _8112_AD_DMA_Stop( int *count )
int _8112pg_AD_DMA_Stop( int *count )

Argument:

count:

the number of A/D converted data which

has beentransferred.

Return Code:

ERR_NoError
ERR_BoardNoInit
ERR_AD_DMANotSet

Example:

See demo program 'AD_Demo4.C'

Advertising