- 122 -
rcv_dtq Receive from data queue prcv_dtq Receive from data queue (polling) iprcv_dtq Receive from data queue (polling, handler only) trcv_dtq Receive from data queue (with timeout)
[
[[
[
C
C
L
La
an
ng
gu
ua
ag
ge
e
A
AP
PI
I
]
]]
]
ER ercd = rcv_dtq( ID dtqid, VP_INT *p_data );
ER ercd = prcv_dtq( ID dtqid, VP_INT *p_data );
ER ercd = iprcv_dtq( ID dtqid, VP_INT *p_data );
ER ercd = trcv_dtq( ID dtqid, VP_INT *p_data, TMO tmout );
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
ID dtqid ID number of the data queue from which to receive
TMO tmout Timeout value (trcv_dtq)
VP_INT *p_data Pointer to the start of the area in which received data is stored
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_INT *p_data Pointer to the start of the area in which received data is stored
[
[[
[
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
rcv_dtq DTQID
prcv_dtq DTQID
iprcv_dtq DTQID
trcv_dtq DTQID,TMO
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
DTQID ID number of the data queue from which to receive
TMO Timeout value (trcv_dtq)
z
z
R
Re
eg
gi
is
st
te
er
r
c
co
on
nt
te
en
nt
ts
s
a
af
ft
te
er
r
s
se
er
rv
vi
ic
ce
e
c
ca
al
ll
l
i
is
s
i
is
ss
su
ue
ed
d
rcv_dtq,prcv_dtq,iprcv_dtq
Register name Content after service call is issued
R0 Error code
R3R1 Received data
R2 Data queue ID number
trcv_dtq
Register name Content after service call is issued
R0 Error code
R3R1 Received data
R2 ID number of the data queue from which to receive
R6R4 Timeout value
[
[[
[
E
Er
rr
ro
or
r
c
co
od
de
e
]
]]
]
E_RLWAI Forced release from waiting
E_TMOUT Polling failure or timeout or timed out