52 MIL-STD-1553 Reference Manual
Chapter 2 - Library Administration and Initialization Functions
2.2 VME Intialization Functions
These functions are for the use of VME environments only. They are not available for
Windows, Linux or similar environments.
2.2.1 AiVmeExamineSlot
Prototype:
AiUInt32 AiVmeExamineSlot ( TY_VME_EXAMINE_SLOT *in,
TY_PCI_INFO *px_PCI_Info1,
TY_PCI_INFO *px_PCI_Info2);
Driver Command:
None
Purpose:
Runs the PCI config cycle on the AIM board on the A16 address specified in
in->ul_A16Addr, regardless of its protocoll and writes its data into the output
parameters px_PCI_Info1 and px_PCI_Info2. Using these output parameters an
AVI1553, AVX1553 board or an AMC153 board on an AVC-2 carrier can be initialized
using the function AiVme1553MapModule().
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
_
_
V
V
M
M
E
E
_
_
E
E
X
X
A
A
M
M
I
I
N
N
E
E
_
_
S
S
L
L
O
O
T
T
*
*
i
i
n
n
typedef struct ty_vme_examine_slot
{
AiUInt32 ul_A16Addr;
AiUInt32 ul_Force;
/* only needed for PMC on AVC */
AiUInt32 ul_TempA32Addr;
AiUInt32 ul_TempA32UserAccess;
} TY_VME_EXAMINE_SLOT;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
A
A
1
1
6
6
A
A
d
d
d
d
r
r
Is a User defined address in the VME A16 address space, where the board is mapped with
the boards DIP-switch. This address is the A16 address where the CPU accesses the A16
space in his local memory and can be different to the real physical A16 address (Typically
there is a qualifier in the upper half of the long word) . The size of the address space must
be 4 kByte.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
F
F
o
o
r
r
c
c
e
e
Force overwrite of already initialized boards. This forces a PCI Config Cycle on AVI/AVC
boards. For most cases this value should be set to zero.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
T
T
e
e
m
m
p
p
A
A
3
3
2
2
A
A
d
d
d
d
r
r
VME A32 bus bus address the configuration window should temporarily be mapped to.
Only used for PMC on AVC