Adlink ACL-8112 Series Manual de usuario Pagina 77

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 92
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 76
C Language Library 69
7.11 _8112_AD_Soft_Trig
Description
This function is used to trigger an A/D conversion using software trigger.
When the function is called, a trigger pulse will be generated and the
converted data will be stored at base address Base+4 and Base+5, and
can be retrieved using function _8112_AD_Acquire(). Refer to section
7.12.
Syntax
int _8112_AD_Soft_Trig( void )
int _8112pg_AD_Soft_Trig( void )
Argument:
None
Return Code:
ERR_NoError
ERR_BoardNoInit
Example:
#include “8112.h”
main()
{
_8112_Initial( CARD_1, 8112DG, 0x220 );
/* Assume NoError when Initialize ACL-8112 */
_8112_AD_Soft_Trig();
printf( "Now, AD is triggered.\n" );
.
.
_8112_AD_Aquire( &data);
}
Vista de pagina 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 91 92

Comentarios a estos manuales

Sin comentarios