- 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
La
an
ng
gu
ua
ag
ge
e
A
AP
PI
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
Pa
ar
ra
am
me
et
te
er
rs
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
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
H *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
vrcv_dtq VDTQID
vprcv_dtq VDTQID
viprcv_dtq VDTQID
vtrcv_dtq VDTQID,TMO
z
z
P
Pa
ar
ra
am
me
et
te
er
rs
s
VDTQID ID number of the Short 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
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
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