ADLINK PCI-8144 User Manual

Page 145

Advertising
background image

Function Library

135

I16 GpioIntFactorBitNum = 0; //wait INT factor

bit number 0

ret = _8144_wait_single_gpio_interrupt( CardId,

GpioIntFactorBitNum, TimeOutMs );

if( ret == ERR_NoError ){

// Interrupt be triggered

}else{

//Timeout or wait failed

}

_8144_set_gpio_interrupt_factor( gCardId, 0 ); //

Disable GPIO interrupt

See also:

_8144_wait_single_gpio_interrupt,

_8144_wait_multiple_gpio_interrupt

Advertising