GD32F403xx User Manual
652
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.
0: No session request
1: Session request
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...