Instruction manual

AMPDIO DRIVERS
Page 181
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 to fetch 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_PPIABC = 5
ISR_READ_PPIC = 6
ISR_PC27 = 7
ISR_READ_DATA8 = 8
ISR_READ_DATA16 = 9
Chip1 short: address offset of the first timer/counter
or PPI chip to be interrogated:
X1 = 0 X2 = 4 PPIX = 0
Y1 = 8 Y2 = 12 PPIY = 8
Z1 = 16 Z2 = 20 PPIZ = 16
Chan1 short: first timer/counter channel or PPI port to
interrogate (0, 1, 2).
Chip2 short: address offset of the second
timer/counter or PPI chip to be interrogated:
X1 = 0 X2 = 4 PPIX = 0
Y1 = 8 Y2 = 12 PPIY = 8
Z1 = 16 Z2 = 20 PPIZ = 16
Chan2 short: second timer/counter channel or PPI
port to interrogate (0, 1, 2)
Returns short: User Interrupt handle (>= 0). Use this to free the user interrupt with
TCfreeUserInterrupt when finished.
or ERRHANDLE
ERRCHAN
ERRDATA
Prior Calls registerBoardEx
See Also TCUserCCallback