GD32VF103 User Manual
511
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 with
the incoming token
’s device address field. Software 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 with a STALL handshake.
0: Treat this packet as a normal packet and response according to the status of
NAKS and STALL bits in USBFS_DOEPxCTL register.
1: Se
nd a STALL handshake and don’t save the received OUT packet.
1:0
DS[1:0]
Device speed
This field controls the device speed when 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
Rese
rve
d
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Rese
rve
d
P
OI
F
CGONA
K
S
GO
NA
K
CGINA
K
S
GI
NA
K
Rese
rve
d
GO
NS
GI
NS
SD
RW
K
UP
rw
w
w
w
w
r
r
rw
rw
Bits
Fields
Descriptions
31:12
Reserved
Must be kept at reset value
11
POIF
Power-on initialization finished