GD32W51x User Manual
841
1: TXFEIF w ill be triggered w hen the IN endpoint transmit FIFO is completely empty
Host mode:
0: NPTXFEIF w ill be triggered w hen the non-periodic transmit FIFO is half empty
1: NPTXFEIF w ill be triggered w hen the non-periodic transmit FIFO is completely
empty
6
:
1
Reserved
Must be kept at reset value
0
GINTEN
Global interrupt enable
0: Global interrupt is not enabled.
1: Global interrupt is enabled.
Note: Accessible in both device and host modes.
Global USB control and status register (USBFS_GUSBCS)
Address offset: 0x000C
Reset value: 0x0000 0A80
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
R
e
se
rve
d
F
D
M
F
H
M
R
e
se
rve
d
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
e
se
rve
d
U
T
T
[3
:0
]
H
N
P
C
E
N
S
R
P
C
E
N
R
e
se
rve
d
T
O
C
[2
:0
]
rw
r/rw
r/rw
rw
Bits
Fields
Descriptions
31
Reserved
Must be kept at reset value
30
FDM
Force device mode
Setting this bit w ill force the core to device mode irrespective of the USBFS ID input
pin.
0: Normal mode
1: Device mode
The application must w ait at least 25 ms for the change taking effect after setting
the force bit.
Note: Accessible in both device and host modes.
29
FHM
Force host mode
Setting this bit w ill force the core to host mode irrespective of the USBFS ID input