Instruction manual
AMPDIO DRIVERS
Page 187
interrupt or first interrupt line on a PPI chip it is
the address offset of the chip. For second
interrupt line on a PPI chip it is the address
offset of the PPI chip plus 4. Corresponds to bit
positions in interrupt enable register if the card
has one, otherwise use the address offset of
the interrupting chip. 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
ISRDATA short: type of data transfer to be performed on
interrupt. The following pre-defined constants
may be used:
ISR_NODATA = –1
ISR_READ_16COUNT = 0
ISR_READ_16COUNTSTAT = 16
ISR_READ_32COUNT = 1
ISR_READ_32COUNTSTAT = 17
ISR_READ_PPIABC = 5
ISR_READ_PPIC = 6
ISR_PC27 = 7
ISR_READ_DATA8 = 8
ISR_READ_DATA16 = 9
ISR_READ_2PPIABC = 13
ISR_READ_3PPIABC = 14
ISR_WRITE_DATA8 = 32
ISR_WRITE_DATA16 = 33
ISR_WRITE_PPIABC = 34
ISR_WRITE_16COUNT = 39
ISR_WRITE_32COUNT = 40
ISR_WRITE_2PPIABC = 41
ISR_WRITE_3PPIABC = 42
SizeReq unsigned long: number of data values in each
buffer.
fContin short: use single buffer if zero, use double
buffering (continuous mode) if non-zero.
Chip1 short: address offset of the first timer/counter
or PPI chip to be read or written:
X1 = 0 X2 = 4 PPIX = 0
Y1 = 8 Y2 = 12 PPIY = 8
Z1 = 16 Z2 = 20 PPIZ = 16