Instruction manual
AMPDIO DRIVERS
Page 183
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_READ_ADCS = 10
ISR_READ_ADCSNOFIFO = 11
ISR_READ_ADCSFIFO = 12
ISR_READ_ADCSASAP = 15
Group short: channel group of ADC channels to read.
ChMask unsigned long: bit-mask of ADC channels to
read; LSB corresponds to channel 0; MSB
corresponds to channel 32; bit value ‘1’ means
the corresponding channel will be read.
N.B. channels will be read cyclically, one
channel each time.
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
TCfreeUserInterrupt
TCsetUserInterrupt
TCsetUserInterrupt2
TCsetBufferUserInterruptAIO
TCsetNCBufferUserInterruptAIO
enableInterrupts
disableInterrupts
6.4.13.3 Prepare a Basic User Interrupt for Miscellaneous Input — TCsetUserInterrupt2
Used to register a callback function that will be called when a particular interrupt event occurs.
This variant is reserved for future use.
SUPPORTED IN VERSION 4.00 ONWARDS.
This does not support write events due to the interface to the user callback function. For write
events, use the buffered user interrupt functions instead.
If the interrupt source is enabled at the first and second levels, it will be activated. Interrupts
are initially disabled at the first level; use enableInterrupts to enable them. In versions of the
DLL up to version 4.39, all interrupt sources are initially disabled
at the second level but are