GD32F20x User Manual
898
operation on USBFS.
Note:
Accessible in both device and host modes.
0
CSRST
Core soft reset
Resets the AHB and USB clock domains circuits, as well as most of the registers.
Global interrupt flag register (USBFS_GINTF)
Address offset: 0x0014
Reset value: 0x0400 0021
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
W
K
UP
IF
S
E
S
IF
DIS
CIF
IDP
S
C
Rese
rve
d
.
P
T
X
F
E
IF
HC
IF
HP
IF
Rese
rve
d
P
X
NC
IF
/
IS
OO
NC
IF
IS
OI
NC
IF
OE
P
IF
IE
P
IF
Rese
rve
d
rc_w1
rc_w1
rc_w1
rc_w1
r
r
r
rc_w1
rc_w1
r
r
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
E
OP
F
IF
IS
OO
P
DIF
E
NU
M
F
RS
T
SP
ESP
Rese
rve
d
GO
NA
K
GNP
INA
K
NP
T
X
F
E
IF
RX
F
NE
IF
S
OF
OT
GI
F
M
F
IF
COP
M
rc_w1
rc_w1
rc_w1
rc_w1
rc_w1
rc_w1
r
r
r
r
rc_w1
r
rc_w1
r
Bits
Fields
Descriptions
31
WKUPIF
Wakeup interrupt flag
This interrupt is triggered when a resume signal (in device mode) or a remote
wakeup signal (in host mode) is detected on the USB.
Note:
Accessible in both device and host modes.
30
SESIF
Session interrupt flag
This interrupt is triggered when a SRP is detected (in A-Device mode) or VBUS
becomes valid for a B- Device (in B-Device mode).
Note:
Accessible in both device and host modes.
29
DISCIF
Disconnect interrupt flag
This interrupt is triggered after a device disconnection.
Note:
Only accessible in host mode.
28
IDPSC
ID pin status change
Set by the core when ID status changes.
Note:
Accessible in both device and host modes.
27
Reserved
Must be kept at reset value.
26
PTXFEIF
Periodic Tx FIFO empty interrupt flag
This interrupt is triggered when the periodic Tx FIFO is either half or completely
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 ...