GD32F20x User Manual
925
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 USBFS should either 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: 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 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
Software should set this bit to notify USBFS that the registers have been initialized
after waking up from power down state.
10
CGONAK
Clear global OUT NAK
Software sets this bit to clear GONS bit in this register.
9
SGONAK
Set global OUT NAK
Software sets this bit to set GONS bit in this register.
When GONS bit is zero, setting this bit will also cause GONAK flag in
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...