GD32W51x User Manual
871
10: 90% of the frame time
11: 95% of the frame time
10:4
DAR[6:0]
Device address
This field defines the USB device’s address. USBFS uses this field to match w ith
the incoming token’s device address field. Softw are should program this field after
receiving a Set Address command from USB host.
3
Reserved
Must be kept at reset value
2
NZLSOH
Non-zero-length status OUT handshake
When a USB device receives a non-zero-length data packet during status OUT
stage, this field controls that either USBFS should receive this packet or reject this
packet w ith a STALL handshake.
0: Treat this packet as a normal packet and response according to the status of
NAKS and STALL bits in USBFS_DOEPx CTL register.
1: Send a STALL handshake and don’t save the received OUT packet.
1:0
DS[1:0]
Device speed
This field controls the device speed w hen the device connected to a host.
11: Full speed
Others: Reserved
Device control register (USBFS_DCTL)
Address offset: 0x0804
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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
e
se
rve
d
P
O
IF
C
G
O
N
A
K
S
G
O
N
A
K
C
G
IN
A
K
S
G
IN
A
K
R
e
se
rve
d
G
O
N
S
G
IN
S
SD
R
W
K
U
P
rw
w
w
w
w
r
r
rw
rw
Bits
Fields
Descriptions
31:12
Reserved
Must be kept at reset value
11
POIF
Pow er-on initialization finished