Renesas M3T-MR100 Network Card User Manual


 
- 194 -
vref_dtq Reference Short data queue status
viref_dtq Reference Short data queue status (handler only)
[
[
[
[
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 = vref_dtq( ID vdtqid, T_RDTQ *pk_rdtq );
ER ercd = viref_dtq( ID vdtqid, T_RDTQ *pk_rdtq );
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 target Short data queue
T_RDTQ *pk_rdtq Pointer to the packet to which Short data queue status is returned
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
T_RDTQ *pk_rdtq Pointer to the packet to which Short data queue status is returned
Contents of pk_rdtq
typedef struct t_rdtq{
ID stskid +0 2 Transmission waiting task ID
ID wtskid +2 2 Reception waiting task ID
UINT sdtqcnt +4 4 Data bytes contained in Short data queue
} T_RDTQ;
[
[
[
[
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
vref_dtq VDTQID, PK_RDTQ
viref_dtq VDTQID, PK_RDTQ
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 target Short data queue
PK_RDTQ Pointer to the packet to which Short data queue status is returned
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
Register name Content after service call is issued
R0 Error code
R2 ID number of the target Short data queue
A1 Pointer to the packet to which Short data queue status is returned
[
[
[
[
E
E
r
r
r
r
o
o
r
r
c
c
o
o
d
d
e
e
]
]
]
]
None