Instruction manual

AMPDIO DRIVERS
Page 98
or ERRHANDLE
Prior Calls registerBoardEx
See Also
6.4.2.7 Enable an Individual Interrupt Source TCenableInterruptChip
Enables an interrupt source at the second level if it is a valid interrupt source for the card. An
interrupt source is active when it is enabled at the first level (enableInterrupts) and at the
second level and has been set-up (TCsetEventRecorder, TCsetUserInterrupt, etc.).
SUPPORTED IN VERSION 4.40 UPWARDS
In versions of the DLL from version 4.40 onwards, all valid interrupt sources are initially
enabled at the second level.
i = TCenableInterruptChip (h, Chip)
where h short: board handle as issued by the
registerBoardEx function.
Chip short: interrupt source as used in the user
interrupt set-up functions. For historic reasons,
this corresponds to a bit position in the
interrupt enable (IE) mask, multiplied by 4. The
following pre-defined constants may be used:
X1 = 0 PPIXC0 = 0
X2 = 4 PPIXC3 = 4
Y1 = 8 PPIYC0 = 8
Y2 = 12 PPIYC3 = 12
Z1 = 16 PPIZC0 = 16
Z2 = 20 PPIZC3 = 20
PPIX = 0 PPIYC7 = 8
PPIY = 8 EXT0 = 0
PPIZ = 16 ADC0 = 0
ADC2 = 8
DAC2 = 8
DAC4 = 16
SATRIG = 12
Returns short: OK
or ERRHANDLE
ERRCHAN
Prior Calls registerBoardEx
See Also TCdisableInterruptChip
setIntMask
getIntMask
TCenableUserInterrupt