GD32F10x User Manual
789
24.7.
Register definition
USBFS base address: 0x5000 0000
24.7.1.
Global control and status registers
Global OTG control and status register (USBFS_GOTGCS)
Address offset: 0x0000
Reset value: 0x0000 0800
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
BSV
ASV
DI
IDP
S
r
r
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Rese
rve
d
DH
NP
E
N
HH
NP
E
N
HN
P
RE
Q
HN
P
S
Rese
rve
d
S
RP
RE
Q
S
RP
S
rw
rw
rw
r
rw
r
Bits
Fields
Descriptions
31:20
Reserved
Must be kept at reset value.
19
BSV
B-Session Valid (described in OTG protocol).
0: Vbus voltage level of a OTG B-Device is below VBSESSVLD
1: Vbus voltage level of a OTG B-Device is not below VBSESSVLD
Note:
Only accessible in OTG B-Device mode.
18
ASV
A- Session valid
A-host mode transceiver status.
0: Vbus voltage level of a OTG A-Device is below VASESSVLD
1: Vbus voltage level of a OTG A-Device is below VASESSVLD
The A-Device is the default host at the start of a session.
Note:
Only accessible in OTG A-Device mode.
17
DI
Debounce interval
Debounce interval of a detected connection.
0: Indicates the long debounce interval, when a plug-on and connection occurs on
USB bus
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...