MIL-STD-1553 Reference Manual
Chapter 3 – System Functions
3.1.18 ApiCmdSysFree
Prototype:
AiInt16 ApiCmdSysFree( AiUInt32 ul_Module, AiUInt8 uc_MemType,
AiUInt32 ul_Offset, AiUInt32 ul_Tag );
Driver Command:
MIL_COM_FREE (0x01000004)
Purpose:
Free a memory block that was allocated with the ApiCmdSysMalloc function. This
function is currently only implemented on AEC/AXC/AMCX1553 boards for update
purpose.
Input
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
M
M
e
e
m
m
T
T
y
y
p
p
e
e
The memory type from where the block was allocated.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
O
O
f
f
f
f
s
s
e
e
t
t
The start offset of the memory block.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
T
T
a
a
g
g
Name of the request for debug and bug check purpose.
Output
Return Value
All API functions return API_OK if no error occurred. If the return value is not equal
to API_OK the function ApiGetErrorDescription can be used to obtain an error
description.