30
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Library Administration Functions
4
4
.
.
1
1
.
.
2
2
P
P
l
l
a
a
t
t
f
f
o
o
r
r
m
m
D
D
e
e
p
p
e
e
n
n
d
d
e
e
n
n
t
t
F
F
u
u
n
n
c
c
t
t
i
i
o
o
n
n
s
s
–
–
P
P
l
l
a
a
t
t
f
f
o
o
r
r
m
m
V
V
M
M
E
E
This section describes the commands used to initialize the FDX module and configure for
interrupts.
4
4
.
.
1
1
.
.
2
2
.
.
1
1
A
A
i
i
F
F
d
d
x
x
A
A
v
v
i
i
D
D
e
e
l
l
V
V
m
m
e
e
I
I
n
n
t
t
P
P
r
r
o
o
t
t
o
o
t
t
y
y
p
p
e
e
:
:
AiInt16 AiFdxAviDelVmeInt (AiUInt32 ul_Handle, AiUInt8 type, AiUInt8 level, AiUInt8
vector, FDX_INTERRUPT_SET_FUNC
*intSetFunction);
D
D
r
r
i
i
v
v
e
e
r
r
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
none
P
P
u
u
r
r
p
p
o
o
s
s
e
e
:
:
This function disconnects the interrupt system on the host system with the AIM board
interrupt and the VME interrupt. This function must be called before close if an
initialize interrupt function (
AiFdxAviInitVmeInt)
was applied.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
t
t
y
y
p
p
e
e
Reserved – not used at this time
A
A
i
i
U
U
I
I
n
n
t
t
8
8
l
l
e
e
v
v
e
e
l
l
VME interrupt level which is used for the AIM board
A
A
i
i
U
U
I
I
n
n
t
t
8
8
v
v
e
e
c
c
t
t
o
o
r
r
VME interrupt vector number which is used for the AIM board
F
F
D
D
X
X
_
_
I
I
N
N
T
T
E
E
R
R
R
R
U
U
P
P
T
T
_
_
S
S
E
E
T
T
_
_
F
F
U
U
N
N
C
C
*
*
i
i
n
n
t
t
S
S
e
e
t
t
F
F
u
u
n
n
c
c
t
t
i
i
o
o
n
n
According to specifics of your VME system it can be very different to set and disable
the interrupt to the specific level and vector. So this parameter is a function pointer
to a routine, which can unset the interrupt vector to the interrupt vector table in the
host VME system for selected interrupt level number. This function must be from
the type FDX_INTERRUPT_SET_FUNC which is defined in ‘AiFdx_def.h’ as
follows:
typedef
AiInt16 FDX_INTERRUPT_SET_FUNC(AiUInt8 vector, AiUInt8 level,
FDX_VOID_FUNC *intFuntion);
This is a callback function which will be called from the
‘AiFdxAviDelVmeInt’
to clear
the interrupt settings. The parameter
‘*intFuntion’
from the delete case will be NULL.
This function will be called only if you de-install the interrupt.
O
O
u
u
t
t
p
p
u
u
t
t
n
n
o
o
n
n
e
e
R
R
e
e
t
t
u
u
r
r
n
n
V
V
a
a
l
l
u
u
e
e
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR
Summary of Contents for AFDX / ARINC 664
Page 2: ......