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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 92
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 83
76 C Language Library
7.17 _8112_AD_INT_Start
Description
The function will perform an A/D conversion N times with interrupt data
transfer using the pacer trigger. It takes place in the background which
will not stopped until the Nth conversion has completed or your program
executes the _8112_AD_INT_Stop() function to stop the process. After
executing this function, it is necessary to check the status of the
operation by issuing the 8112_AD_INT_Status() function. The function
can only be performed on an A/D channel with a fixed analog input
range.
Syntax
int _8112_INT_Start( int ad_ch_no, int ad_range,
int irq_ch_no, int count, int
*ad_buffer, unsigned int c1, unsigned int c2)
int _8112pg_INT_Start( int ad_ch_no, int ad_gain,
int irq_ch_no, int count, int
*ad_buffer, unsigned int c1, unsigned int c2)
Argument:
ad_ch_no
: A/D channel number
ad_range
: A/D analog input range, please refer
to section 7.9 for the possible
values.
irq_ch_no: IRQ channel number, used to stop DMA
count:
the number of A/D conversion
ad_buffer:
the start address of the memory buffer
to store the A/D data, the buffer
size must be larger than the number
of A/D conversions.
c1:
the 16-bit timer frequency divider of
timer channel #1
c2:
the 16-bit timer frequency divider of
timer channel #2
Vista de página 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 90 91 92

Comentários a estes Manuais

Sem comentários