ADLINK ACL-8112 Series User Manual

Page 82

Advertising
background image

74

• C Language Library

7.15 _8112_AD_DMA_Status

Description

Since the _8112_AD_DMA_Start function is executed in the
background, you can issue the function _8112_AD_DMA_Status to
check its operation status.

Syntax

int _8112_AD_DMA_Status( int *status , int *count )
int _8112pg_AD_DMA_Status( int *status , int *count )

Argument:

status:

status of the DMA data transfer

0: AD DMA is not completed

1: AD DMA is completed

count:

the number of A/D data which has been

transferred.

Return Code:

ERR_NoError
ERR_BoardNoInit
ERR_AD_DMANotSet

Example:

See demo program 'AD_Demo4.C'

Advertising