![Aim AMC429 Скачать руководство пользователя страница 41](http://html1.mh-extra.com/html/aim/amc429/amc429_reference-manual_2871731041.webp)
Software Library Reference Manual for VME 429
31
Section 2 – Library Administration Functions
2.2.6 AiVme429MapModule
P
P
r
r
o
o
t
t
o
o
t
t
y
y
p
p
e
e
:
:
AiUInt32 AiVme429MapModule(TY_VME_MAP_MODULE_IN *in)
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 initializes the Application Interface for the specified module and
returns a module handle that has to be used for most functions. This function
establishes connectivity between the Application Interface and the AIM memory
area for host-to-target communication.
Note:
most commands require also Avi429Open() to be called
I
I
n
n
p
p
u
u
t
t
T
T
Y
Y
_
_
V
V
M
M
E
E
_
_
M
M
A
A
P
P
_
_
M
M
O
O
D
D
U
U
L
L
E
E
_
_
I
I
N
N
*
*
i
i
n
n
typedef struct ty_vme_map_module_in
{
AiUInt32 ul_A32Addr;
AiUInt32 ul_A32UserAccess;
AiUInt32 ul_Force;
AiUInt32 ul_cPCI;
TY_PCI_INFO *px_PCI_Info;
} TY_VME_MAP_MODULE_IN;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
A
A
3
3
2
2
A
A
d
d
d
d
r
r
e
e
s
s
s
s
Is a User defined address in the VME A32 address space where the user wants to
see the memory of the VME Carrier's AMC429 Module or the AVI429 module in
the VME address space (real, physical A32 address). The memory size for the
module in the A32 space is dependant on the amount of memory on the module.
The real memory depends on the settings of the PCI-BAR register of the AIM
Module. For all requested memory of the AIM Module one image is mapped on the
VME-bus.
To access this mapped VME-memory for each BAR register memory request one
VME base pointer is returned.
Note: this adress has to be 16MB alligned.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
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
According to your VME-CPU system or operating system, the access address of
your CPU to the VME A32 range can be different to the real physical A32 address.
This parameter defines the CPU VME A32 access address.
Note this parameter may be set to zero, if the command ‚sysBusToLocalAdrs’
works in the VxWorks BSP.
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 mapping process, even if already mapped. 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
_
_
c
c
P
P
C
C
I
I
Содержание AMC429
Страница 2: ......
Страница 6: ...iv THIS PAGE IS INTENTIONALLY LEFT BLANK...
Страница 18: ...8 Software Library Reference Manual for VME 429 Section 1 Introduction THIS PAGE IS INTENTIONALLY LEFT BLANK...
Страница 130: ...120 Software Library Reference Manual for VME 429 Section 5 Transmitter Functions THIS PAGE IS INTENTIONALLY LEFT BLANK...
Страница 150: ...140 Software Library Reference Manual for VME 429 Section 6 Receiver Functions THIS PAGE IS INTENTIONALLY LEFT BLANK...
Страница 216: ...206 Software Library Reference Manual for VME 429 Section 11 Notes THIS PAGE IS INTENTIONALLY LEFT BLANK...