- 136 -
get_mpf Aquire fixed-size memory block pget_mpf Aquire fixed-size memory block (polling) ipget_mpf Aquire fixed-size memory block (polling, handler only) tget_mpf Aquire fixed-size memory block (with timeout)
[
[[
[
C
C
L
La
an
ng
gu
ua
ag
ge
e
A
AP
PI
I
]
]]
]
ER ercd = get_mpf( ID mpfid, VP *p_blk );
ER ercd = pget_mpf( ID mpfid, VP *p_blk );
ER ercd = ipget_mpf( ID mpfid, VP *p_blk );
ER ercd = tget_mpf( ID mpfid, VP *p_blk,TMO tmout );
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
ID mpfid ID number of the target fixed-size memory pool to be acquired
VP *p_blk Pointer to the start address of the acquired memory block
TMO tmout Timeout value(tget_mpf)
z
z
R
Re
et
tu
ur
rn
n
P
Pa
ar
ra
am
me
et
te
er
rs
s
ER ercd Terminated normally (E_OK) or error code
VP *p_blk Pointer to the start address of the acquired memory block
[
[[
[
A
As
ss
se
em
mb
bl
ly
y
l
la
an
ng
gu
ua
ag
ge
e
A
AP
PI
I
]
]]
]
.include mr100.inc
get_mpf MPFID
pget_mpf MPFID
ipget_mpf MPFID
tget_mpf MPFID,TMO
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
MPFID ID number of the target fixed-size memory pool to be acquired
TMO Timeout value(tget_mpf)