ADLINK PCI-8154 User Manual
Page 96
Advertising
86
Operation Theory
The steps for using interrupts:
1. Use _8154_int_control(CARD_ID, Enable=1/Disable=0);
2. Set interrupt sources for Event or GPIO interrupts.
3. _8154_set_motion_int_facor(AXIS0, 0x01); // Axis0 nor-
mally stop
4. _8154_wait_motion_interrupt(AXIS0, 0x01, 1000) // Wait
1000ms for normally stop interrupt
5. I16 ErrNo=_8154_wait_error_interrupt(AXIS0, 2000); //
Wait 2000ms for error interrupts
Advertising