GD32F10x User Manual
794
29
FHM
Force host mode
Setting this bit will force the core to host mode irrespective of the USBFS ID input
pin.
0: Normal mode
1: Host mode
The application must wait at least 25 ms for the change taking effect after setting
the force bit.
Note:
Accessible in both device and host modes.
28:14
Reserved
Must be kept at reset value.
13:10
UTT[3:0]
USB turnaround time
Turnaround time in PHY clocks.
Note:
Only accessible in device mode.
9
HNPCEN
HNP capability enable
Controls whether the HNP capability is enabled
0: HNP capability is disabled
1: HNP capability is enabled
Note:
Accessible in both device and host modes.
8
SRPCEN
SRP capability enable
Controls whether the SRP capability is enabled
0: SRP capability is disabled
1: SRP capability is enabled
Note:
Accessible in both device and host modes.
7:3
Reserved
Must be kept at reset value.
2:0
TOC[2:0]
Timeout calibration
USBFS always uses time-out value required in USB 2.0 when waiting for a packet.
Application may use TOC [2:0] to add the value is in terms of PHY clock. (The
frequency of PHY clock is 48MHZ.).
Global reset control register (USBFS_GRSTCTL)
Address offset: 0x0010
Reset value: 0x8000 0000
The application uses this register to reset various hardware features inside the core.
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
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 ...