Adlink ACL-8112 Series Manual do Utilizador Página 77

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 92
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 91 92

Comentários a estes Manuais

Sem comentários