Instruction manual
AMPDIO DRIVERS
Page 99
6.4.2.8 Disable an Individual Interrupt Source — TCdisableInterruptChip
Disables an interrupt source at the second level if it is a valid interrupt source for the card. If
the interrupt source is active, it will be deactivated.
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 = TCdisableInterruptChip (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 TCenableInterruptChip
setIntMask
getIntMask
TCdisableUserInterrupt
6.4.3 Thread Priority Control
6.4.3.1 Set Real Time Priority — DIO_TC_getrealtimepriority
Puts current process and thread into real time priority. Prior to version 4.23, this was only
done for Windows NT. For version 4.23 onwards it is also done for Windows 9x.
i = DIO_TC_getrealtimepriority ()
Returns BOOLEAN: TRUE on success