Instruction manual

AMPDIO DRIVERS
Page 45
PCI224, PCI234 EXT0=0, DAC2=8, Z2=20 Yes
PCI230 PPIXC0=0, PPIXC3=4, ADC2=8, SATRIG=12
1
, DAC4=16
2
,
Z2=20
Yes
PCI260 0, 4, ADC2=8, Z2=20 (0 and 4 are non-functional) Yes
1
SATRIG is supported on PCI230+ and PCI260+.
2
DAC4 is supported on PCI230+ hardware version 2.
The interrupt source constants above have the following meanings:
X1, X2, Y1, Y2, Z1, Z2
Interrupt source is the output of one of the counters of the
timer / counter chip at this address offset (counter 1 on
PC212E, PC214E, PC215E, PCI215, PC218E, PCI224,
PCI230, PCI234 and PCI260; counter 0 on PC30AT;
determined by jumpers on PC24E and PC25E).
PPIXC0, PPIXC3, PPIYC0,
PPIYC3, PPIZC0, PPIZC3
Interrupt source is port C bit 0 or port C bit 3 of the PPI chip
at this address offset.
PPIYC7
Interrupt source is port C bit 7 of the PPI chip at this
address offset (PC30AT only).
PPIX
Interrupt source is one bit of port C of PPIX (bit 3 on
PC36AT and PCI236).
PPIY
Interrupt source is one bit of port C of PPIY (bit 7 on
PC30AT).
ADC0
Interrupt source is A/D conversion complete (PC26AT,
PC27E and PC30AT).
ADC2
Interrupt source is A/D conversion complete or ADC FIFO
at or above trigger level (PCI230 and PCI260).
DAC2
Interrupt source is DAC FIFO at or below trigger level
(PCI224 and PCI234).
DAC4
Interrupt source is DAC FIFO at or below trigger level
(PCI230+ hardware version 2).
EXT0
Interrupt source is external trigger (PCI224 and PCI234).
SATRIG
Interrupt source is “ADC start acquisition trigger occurred”
(PCI230+ and PCI260+).
The PC214E and PC30AT cards have multiple possible interrupt sources (and so do the PC24E
and PC25E in choice of counter output). The choice of interrupt source is selected by hardware
jumpers.
Although the PC30AT can be connected to two interrupt lines, the driver supports at most one IRQ
per card, so either J20 or J22 should be disconnected from J21.
3.4.3.1 Basic Interrupt Callback
The TCsetUserInterrupt and TCsetUserInterruptAIO functions (see sections 6.4.13.1 and 6.4.13.2)
allow a user-specified function to be called back every time a data value is read by the driver’s
interrupt routine. The functions allow the user to specify the interrupt source, the type of data to be