
GD32F10x User Manual
790
1: Indicates the short debounce interval, when a soft connection is used in HNP
protocol.
Note:
Only accessible in host mode.
16
IDPS
ID pin status
Voltage level of connector ID pin
0: USBFS is in A-Device mode
1: USBFS is in B-Device mode
Note:
Accessible in both device and host modes.
15:12
Reserved
Must be kept at reset value.
11
DHNPEN
Device HNP enable
Enable the HNP function of a B-Device. If this bit is cleared, USBFS doesn
’t start
HNP protocol when application set HNPREQ bit in USBFS_GOTGCS register.
0: HNP function is not enabled.
1: HNP function is enabled
Note:
Only accessible in device mode.
10
HHNPEN
Host HNP enable
Enable the HNP function of an A-Device. If this bit is cleared, USBFS doesn
’t
response to the HNP request from B-Device.
0: HNP function is not enabled.
1: HNP function is enabled
Note:
Only accessible in host mode.
9
HNPREQ
HNP request
This bit is set by software to start a HNP on the USB. This bit can be cleared when
HNPEND bit in USBFS_GOTGINTF register is set, by writing zero to it, or clearing
the HNPEND bit in USBFS_GOTGINTF register.
0: Don’t send HNP request
1: Send HNP request
Note:
Only accessible in device mode.
8
HNPS
HNP successes
This bit is set by the core when HNP succeeds, and this bit is cleared when
HNPREQ bit is set.
0: HNP fails
1: HNP succeeds
Note:
Only accessible in device mode.
7:2
Reserved
Must be kept at reset value.
1
SRPREQ
SRP request
This bit is set by software to start a SRP on the USB. This bit can be cleared when
SRPEND bit in USBFS_GOTGINTF register is set, by writing zero to it, or clearing
the SRPEND bit in USBFS_GOTGINTF register.
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 ...