Adlink PCI-8124-C Manual do Utilizador Página 50

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 49
40 Operation Theory
Steps:
1. Enable the interrupt factors that you want to be wait.
“_8124_get_int_factor”
2. Using wait function to wait the specified interrupt.
“_8124_wait_single_int”
3. In the end of interrupt process, you should disable the
interrupt service.
“_8124_get_int_factor”
Example:
_8124_set_int_factor( CardId, Channel, 0x4); //
FIFO empty
…(FIFO operation)…
// wait FIFO empty interrupt
// FactorBitNum = 2
// 10 seconds time-out
_8124_wait_single_int( CardId, Channel, 2, 10000
);
_8124_set_int_factor( CardId, Channel, 0 )//
Disable the interrupt service.
Vista de página 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 101 102

Comentários a estes Manuais

Sem comentários