Table 9-3: Interrupt Mask - Addi-Data ADDINUM CPCI-1500 Technical Description

Digital inputs and outputs for the pci/compactpci bus
Hide thumbs Also See for ADDINUM CPCI-1500:
Table of Contents

Advertisement

Technical description
The following errors are possible
- overtemperature
- short-circuit
- no voltage is available
If several boards are operated and if they have to react to interrupts, the variable
b_BoardHandle returns the identification number (handle) of the board which
has generated the interrupt.
The user interrupt routine must have the following syntax:
VOID v_FunctionName (BYTE
v_FunctionName
b_BoardHandle
b_InterruptMask
b_InputChannelNbr
The user can give another name for v_FunctionName, b_BoardHandle,
b_InterruptMask, b_InputChannelNbr.
Chapter 9
BYTE
BYTE
Name of the user interrupt routine
Handle of the xPCI-1500 which has generated the
interrupt
Mask of the events which have generated the interrupt.
If an interrupt is generated with a Mask 0000 0001 and if
you use the OR-PRIORITY logic, this variable gives the
input number, which have generated the interrupt.

Table 9-3: Interrupt mask

Mask
0000 0001
Event 1 has occurred
0000 0010
Event 2 has occurred
0000 0100
Counter/timer 1 has run down
0000 1000
Counter/timer 2 has run down
0001 0000
Counter 3 has run down
0010 0000
Watchdog has run down
0100 0000
Voltage error
1000 0000
Short-circuit error
b_BoardHandle,
b_InterruptMask,
b_InputChannelNbr)
Meaning
APCI-/CPCI-1500
49

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADDINUM CPCI-1500 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Addinum apci-1500

Table of Contents