beautypg.com

Renesas Emulator System M3T-MR100 User Manual

Page 207

background image

- 191 -

vrcv_dtq

Receive from Short data queue

vprcv_dtq

Receive from Short data queue (polling)

viprcv_dtq

Receive from Short data queue (polling,handler only)

vtrcv_dtq Receive

from

Short

data queue (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 = vrcv_dtq( ID dtqid, H *p_data );
ER ercd = vprcv_dtq( ID dtqid, H *p_data );
ER ercd = viprcv_dtq( ID dtqid, H *p_data );
ER ercd = vtrcv_dtq( ID dtqid, H *p_data, 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

vdtqid

ID number of the Short data queue from which to receive

TMO tmout Timeout

value(vtrcv_dtq)

H

*p_data

Pointer to the start of the area in which received data is stored

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

H

*p_data

Pointer to the start of the area in which received data is stored

[

[

[

[

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
vrcv_dtq

VDTQID

vprcv_dtq VDTQID
viprcv_dtq VDTQID
vtrcv_dtq VDTQID,TMO

z

z

P

P

a

a

r

r

a

a

m

m

e

e

t

t

e

e

r

r

s

s

VDTQID

ID number of the Short data queue from which to receive

TMO Timeout

value(trcv_dtq)

z

z

R

R

e

e

g

g

i

i

s

s

t

t

e

e

r

r

c

c

o

o

n

n

t

t

e

e

n

n

t

t

s

s

a

a

f

f

t

t

e

e

r

r

s

s

e

e

r

r

v

v

i

i

c

c

e

e

c

c

a

a

l

l

l

l

i

i

s

s

i

i

s

s

s

s

u

u

e

e

d

d

vrcv_dtq,vprcv_dtq,viprcv_dtq

Register name

Content after service call is issued

R0 Error

code

R1 Received

data

R2

ID number of the Short data queue from which to receive

vtrcv_dtq

Register name

Content after service call is issued

R0 Error

code

R1 Received

data

R2

ID number of the Short data queue from which to receive

R6R4 Timeout

value

[

[

[

[

E

E

r

r

r

r

o

o

r

r

c

c

o

o

d

d

e

e

]

]

]

]

E_RLWAI

Forced release from waiting

E_TMOUT

Polling failure or timeout or timed out