Adlink ACL-8216 Manual de usuario Pagina 64

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 75
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 63
56
C/C++ Library
5.16 _8216_AD_DMA_Status
@ Description
Since the _8216_AD_DMA_Start function is executed in background,
you can issue the function _8216_AD_DMA_Status to check its
operation status.
@ Syntax
int _8216_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'
5.17 _8216_AD_DMA_Stop
@ Description
This function is used to stop the DMA data transfer. 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
int _8216_AD_DMA_Stop( int *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_Demo4.C'
Vista de pagina 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 74 75

Comentarios a estos manuales

Sin comentarios