GD32VF103 User Manual
492
01: DATA2
11: MDATA
14:4
BCOUNT[10:0]
Byte count
The byte count of the received IN data packet.
3:0
CNUM[3:0]
Channel number
The channel number to which the current received packet belongs.
Device mode:
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Rese
rve
d
RP
CK
S
T
[3
:0
]
DP
ID
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DP
ID
B
COUN
T
[1
0
:0
]
E
P
NU
M
[3
:0
]
r
r
r
Bits
Fields
Descriptions
31:21
Reserved
Must be kept at reset value
20:17
RPCKST[3:0]
Received packet status
0001: Global OUT NAK (generates an interrupt)
0010: OUT data packet received
0011: OUT transfer completed (generates an interrupt)
0100: SETUP transaction completed (generates an interrupt)
0110: SETUP data packet received
Others: Reserved
16:15
DPID[1:0]
Data PID
The Data PID of the received OUT data packet
00: DATA0
10: DATA1
01: DATA2
11: MDATA
14:4
BCOUNT[10:0]
Byte count
The byte count of the received data packet.
3:0
EPNUM[3:0]
Endpoint number
The endpoint number to which the current received packet belongs.