MIL-STD-1553 Reference Manual
Chapter 3 – System Functions
3.1.20 ApiCmdSysGetMemPartition
Prototype:
AiInt16 ApiCmdSysGetMemPartition( AiUInt32 ul_ModuleHandle, AiUInt8 uc_Mode,
TY_API_GET_MEM_INFO *px_MemInfo );
Driver Command:
API_SYS_GET_MEM_PARTITION (0x2B)
Purpose:
This function is used to return 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: All returned addresses are relative to the start of the Global RAM!
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
O
O
u
u
t
t
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
G
G
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_get_mem_layout
{
TY_API_MEM_BIU_ADDR ax_BiuAddr[8];
TY_API_MEM_SIM_BUF x_Sim[2];
TY_API_MEM_BIU_SIZE ax_BiuSize[8];
TY_API_MEM_BIU_COUNT ax_BiuCnt[8];
TY_API_MEM_BIU_INFO ax_BiuInfo[8];
AiUInt32 aul_GlobalMemSize[2];
} TY_API_GET_MEM_INFO;