EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdsyssetmempartition

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
108
Chapter 3 System Functions
3.1.22 ApiCmdSysSetMemPartition
Prototype:
AiInt16 ApiCmdSysSetMemPartition( AiUInt32 ul_ModuleHandle, AiUInt8 uc_Mode,
TY_API_GET_MEM_INFO *px_MemInfo,
AiUInt32 *pul_Status, AiUInt32 aul_MemUsed[2] );
Driver Command:
TG_API_SYS_SET_MEM_PARTITION (0x2A)
Purpose:
This function is used to configure the actual partitioning of the structures setup within
the Board Global memory (e.g. Start Addresses of descriptor areas, Amount of
descriptors, IDs, etc).
Note: If this function is used, it must be called before the function ApiCmdIni() is
called in the application!
Note: To get the default values of the board memory settings, just call
ApiCmdSysGetMemPartition as the first call in your application after a reboot of
your computer!
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
M
M
o
o
d
d
e
e
Value
Description
0
1
2
Normal use case
Reserved
Enhanced BM activity page
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
S
S
E
E
T
T
_
_
M
M
E
E
M
M
_
_
I
I
N
N
F
F
O
O
*
*
p
p
x
x
_
_
M
M
e
e
m
m
I
I
n
n
f
f
o
o
typedef struct ty_api_set_mem_layout
{
AiUInt32 aul_SimBufSize[2];
TY_API_SET_MEM_BIU_SIZE ax_BiuSize[8];
TY_API_SET_MEM_BIU_COUNT ax_BiuCnt[8];
} TY_API_SET_MEM_INFO;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
a
a
u
u
l
l
_
_
S
S
i
i
m
m
B
B
u
u
f
f
S
S
i
i
z
z
e
e
[
[
2
2
]
]
Sizes of Simulator data buffers for every Global Memory bank (0..1)

Table of Contents

Other manuals for Aim MIL-STD-1553