EasyManua.ls Logo

Aim ARINC 429 - 2.2.4 AiPciGetHeader

Default Icon
228 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
28 Software Library Reference Manual for VME 429
Section 2 – Library Administration Functions
2.2.4 AiPciGetHeader
P
P
r
r
o
o
t
t
o
o
t
t
y
y
p
p
e
e
:
:
TY_PCI_INFO* AiPciGetHeader( AiUInt32 ulModuleIndex );
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 commands returns the PCI header of a board, which can be used to call
AiVme429MapModule().
Before calling this command, AiPciScan() has to be called first.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
M
M
o
o
d
d
u
u
l
l
e
e
I
I
n
n
d
d
e
e
x
x
This is an index to the PCI module, from which the PCI header shall be returned.
An index of zero returns the first board that was found.
O
O
u
u
t
t
p
p
u
u
t
t
None
R
R
e
e
t
t
u
u
r
r
n
n
V
V
a
a
l
l
u
u
e
e
The PCI header of the board identified by the ulModuleIndex.
typedef struct {
TY_PCI_CONFIGSPACE_HEADER x_PCIConfHd;
TY_PCI_BAR_INFO x_PCIBarInfo[6];
AiUInt32 ul_PCITotalMemorySize;
AiUInt32 ul_PCIStartAddress;
AiUInt32 ul_A16Address;
AiUInt8 uc_VmeHandleCount;
AiUInt busNo;
AiUInt8 deviceNo;
AiUInt8 funcNo;
} TY_PCI_INFO;

Table of Contents

Related product manuals