GD32W51x User Manual
889
6
BTBSTP
Back-to-back SETUP packets (Only for control OUT endpoint)
This flag is triggered w hen a control out endpoint has received more than 3 back-
to-back setup packets.
5
Reserved
Must be kept at reset value
4
EPRXFOV R
Endpoint Rx FIFO overrun
This flag is triggered if the OUT endpoint’s Rx FIFO has no enough space for a
packet data w hen an OUT token is incoming. USBFS w ill drop the incoming OUT
data packet and sends a NAK handshake in this case.
3
STPF
SETUP phase finished (Only for control OUT endpoint)
This flag is triggered w hen a setup phase finished, i.e. USBFS receives an IN or
OUT token after a setup token.
2
Reserved
Must be kept at reset value
1
EPDIS
Endpoint disabled
This flag is triggered w hen an
endpoint is disabled by the softw are’s request.
0
TF
Transfer finished
This flag is triggered w hen all the OUT transactions assigned to this endpoint have
been finished.
Device IN endpoint 0 transfer length register (USBFS_DIEP0LEN)
Address offset: 0x0910
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R
e
se
rve
d
P
C
N
T
[1
:0
]
R
e
se
rve
d
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
e
se
rve
d
T
L
E
N
[6
:0
]
rw
Bits
Fields
Descriptions
31:21
Reserved
Must be kept at reset value
20:19
PCNT[1:0]
Packet count