Instruction manual
AMPDIO DRIVERS
Page 44
ISR_WRITE_PPIABC = 34 Writes PPI ports A, B and C (Chip1, [Chan1=0]). The low 8
bits are written to port A, the next 8 bits to port B, and the
next 8 to port C.
ISR_WRITE_2PPIABC = 41 Like ISR_WRITE_PPIABC but writes to ports A, B and C
of two specified PPI chips (Chip1, Chip2) on each
interrupt. Consumes two data values on each interrupt.
The first data value is written to ports A, B and C of the
first specified PPI chip. The second data value is written to
ports A, B and C of the second specified PPI chip.
ISR_WRITE_3PPIABC = 42 Like ISR_WRITE_PPIABC but writes to ports A, B and C
of three fixed PPI chips (PPIX, PPIY and PPIZ) on each
interrupt. Consumes three data values on each interrupt.
The first data value is written to ports A, B and C of the
first PPI chip (PPIX). The second data value is written to
ports A, B and C of the second PPI chip (PPIY). The third
data value is written to ports A, B and C of the third PPI
chip (PPIZ).
ISR_WRITE_DACS = 35 Writes to a set of DAC channels, uncooking the data
(Group, ChanMask). Consumes one data value per
channel specified by the channel mask on each trigger. If
the DAC channel group being written is the source of the
interrupt and it has a FIFO, then the interrupt is set up to
make use of the FIFO. When using the FIFO, as much
data as possible is written to the FIFO on each interrupt
and the hardware is responsible for clocking of data out to
the specified set of DAC channels on each trigger.
ISR_WRITE_DACSNOFIFO
= 37
Like ISR_WRITE_DACS but does not use the FIFO.
ISR_WRITE_DACSFIFO = 38 Like ISR_WRITE_DACS but uses the FIFO even when the
DAC group being written to is not the interrupt source.
Requires the DAC group to have a FIFO.
ISR_WRITE_2DACS = 36 Writes to two DAC channels uncooking the data (Group1,
Chan1, Group2, Chan2). The lower 16 bits are uncooked
and written to the first DAC channel. The next 16 bits are
uncooked and written to the second DAC channel.
The driver supports the following interrupt source values for each card (these values are used for
the Chip parameter of the user interrupt set-up function). The column labelled 'Multi' indicates
whether the driver allows more than one interrupt source to be in use simultaneously.
Card Type Interrupt Sources Multi
PC212E PPIXC0=0, PPIXC3=4, Y1=8, Y2=12, Z1=16, Z2=20 Yes
PC214E PPIXC0=0, PPIXC3=4, PPIYC0=8, PPIYC3=12, Z1=16 No
PC215E, PCI215 PPIXC0=0, PPIXC3=4, PPIYC0=8, PPIYC3=12, Z1=16, Z2=20 Yes
PC218E X1=0, X2=4, Y1=8, Y2=12, Z1=16, Z2=20 Yes
PC272E, PCI272 PPIXC0=0, PPIXC3=4, PPIYC0=8, PPIYC3=12, PPIZC0=16,
PPIZC3=20
Yes
PC36AT, PCI236 PPIX=0, PPIXC3=4 (both refer to same interrupt source) No
PC263, PCI263 N/A N/A
PC24E, PC25E Y1=8 No
PC26AT ADC0=0 No
PC27E ADC0=0 No
PC30AT ADC0=0, X2=4, PPIY=8, PPIYC7=8, 12 No