Instruction manual
AMPDIO DRIVERS
Page 95
Prior Calls none
See Also DIO_TC_SetResetOnRegister
registerBoard
registerBoardEx
registerBoardPci
6.4.2 Interrupt Control Functions
6.4.2.1 Enable a Board's Interrupts — enableInterrupts
Enables the card’s interrupts to be processed by the driver. This enables interrupts at the first
level. A card’s interrupt sources are active when enabled at both the first level and the second
level and have been set up using one of the interrupt set-up functions such as
TCsetEventRecorder or TCsetUserInterrupt.
Interrupts are initially disabled at the first level.
i = enableInterrupts (h)
where h short: board handle as issued by the
registerBoardEx function.
Returns short: OK
or ERRHANDLE
Prior Calls registerBoardEx
See Also disableInterrupts
interruptsEnabledP
setIntMask
getIntMask
6.4.2.2 Disable a Board's Interrupts — disableInterrupts
Disables the card’s interrupts. This disables interrupts at the first level. Any active interrupt
sources which have been enabled at the second level and set-up using one of the interrupt
set-up functions such as TCsetEventRecorder or TCsetUserInterrupt will cease to operate.
Interrupts are initially disabled at the first level.
i = disableInterrupts (h)
where h short: board handle as issued by the
registerBoardEx function.
Returns short: OK
or ERRHANDLE
Prior Calls registerBoardEx
See Also enableInterrupts
interruptsEnabledP
setIntMask