beautypg.com

Renesas Emulator System M3T-MR100 User Manual

Page 152

background image

- 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

L

a

a

n

n

g

g

u

u

a

a

g

g

e

e

A

A

P

P

I

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

P

a

a

r

r

a

a

m

m

e

e

t

t

e

e

r

r

s

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

R

e

e

t

t

u

u

r

r

n

n

P

P

a

a

r

r

a

a

m

m

e

e

t

t

e

e

r

r

s

s

ER ercd Terminated

normally (E_OK) or error code

VP

*p_blk

Pointer to the start address of the acquired memory block

[

[

[

[

A

A

s

s

s

s

e

e

m

m

b

b

l

l

y

y

l

l

a

a

n

n

g

g

u

u

a

a

g

g

e

e

A

A

P

P

I

I

]

]

]

]

.include mr100.inc
get_mpf MPFID
pget_mpf MPFID
ipget_mpf MPFID
tget_mpf MPFID,TMO

z

z

P

P

a

a

r

r

a

a

m

m

e

e

t

t

e

e

r

r

s

s

MPFID

ID number of the target fixed-size memory pool to be acquired

TMO Timeout

value(tget_mpf)