GD32F20x User Manual
891
28.7.
Register definition
USBFS base address: 0x5000 0000
28.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 V
BSESSVLD
1: Vbus voltage level of a OTG B-Device is not below V
BSESSVLD
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 V
ASESSVLD
1: Vbus voltage level of a OTG A-Device is below V
ASESSVLD
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
1: Indicates the short debounce interval, when a soft connection is used in HNP
protocol.
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...