MIL-STD-1553 Reference Manual
Chapter 2 - Library Administration and Initialization Functions
2.2.5 AiVmeInitGenericInterrupt
Prototype:
void AiVmeInitGenericInterrupt( TY_PCI_INFO *px_PCI_Info,
TY_INIT_VMEGENERIC_INT *in);
Driver Command:
None
Purpose:
This function applies interrupt specific parameters to the board, specified in
px_PCI_Info. This command can be called after AiVmeExamineSlot() for a board on
the VME bus or after AiPciGetHeader() for a board on a local PCI bus.
Note: this function is not supported for all boards. Please see Table B-III – Function
Support By Boards With ASP for details
I
I
n
n
p
p
u
u
t
t
T
T
Y
Y
_
_
P
P
C
C
I
I
_
_
I
I
N
N
F
F
O
O
*
*
p
p
x
x
_
_
P
P
C
C
I
I
_
_
I
I
n
n
f
f
o
o
Pointer to the PCI info element for this board. It determines for which board the
additional settings are. To get this parameter please use the output of
AiVmeExamineSlot() or AiPciGetHeader()
T
T
Y
Y
_
_
I
I
N
N
I
I
T
T
_
_
V
V
M
M
E
E
G
G
E
E
N
N
E
E
R
R
I
I
C
C
_
_
I
I
N
N
T
T
*
*
i
i
n
n
typedef struct ty_init_vmegeneric_int{
AiUInt32 ul_IrLevel;
AiUInt32 ul_IrVector;
INTERRUPT_SET_FUNC *intSetFunction;
INTERRUPT_SET_FUNC *intDeinstallFunction;
} TY_INIT_VMEGENERIC_INT;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
I
I
r
r
L
L
e
e
v
v
e
e
l
l
Using this parameter the interrupt level can be applied to the board.
Note: if two PMC boards are driven on the same AVC-2 carrier, both must have the
same interrupt level and vector.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
I
I
r
r
V
V
e
e
c
c
t
t
o
o
r
r
Using this parameter the interrupt vector can be applied to the board.
Note: if two PMC boards are driven on the same AVC-2 carrier, both must have the
same interrupt level and vector.