![background image](http://html1.mh-extra.com/html/aim/amc429/amc429_reference-manual_2871731034.webp)
24
Software Library Reference Manual for VME 429
Section 2 – Library Administration Functions
2.2
VME Intialization Functions
2.2.1 AiVmeExamineSlot
P
P
r
r
o
o
t
t
o
o
t
t
y
y
p
p
e
e
:
:
AiUInt32 AiVmeExamineSlot (
TY_VME_EXAMINE_SLOT *in,
TY_PCI_INFO *px_PCI_Info1,
TY_PCI_INFO *px_PCI_Info2);
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
:
:
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
AVI429 board or an AMC429 board on an AVC-2 carrier can be initialized using the
function AiVme429MapModule().
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
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
U
U
s
s
e
e
r
r
A
A
c
c
c
c
e
e
s
s
s
s
The ‘virtual’ address the PMC board is temporarily be mapped to
Only used for PMC on AVC
Summary of Contents for AMC429
Page 2: ......