EasyManua.ls Logo

Aim MIL-STD-1553 - Aivme1553 Mapmodule

Aim MIL-STD-1553
502 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...
MIL-STD-1553 Reference Manual
59
Chapter 2 - Library Administration and Initialization Functions
2.2.6 AiVme1553MapModule
Prototype:
AiUInt32 AiVme1553MapModule(TY_VME_MAP_MODULE_IN *in)
Driver Command:
none
Purpose:
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 ApiOpen() to be called
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
_
_
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.

Table of Contents

Other manuals for Aim MIL-STD-1553