GD32F10x User Manual
776
Figure 24-3. Connection with OTG mode
VBUS
DM
DP
ID
DP
ID
DM
VBus
5V Power
Supply
VDD
U
S
B
M
icr
o
/M
in
i co
n
n
e
ct
o
r
GPIO
USBFS
GND
24.5.2.
USB host function
USB Host Port State
Host application may control state of the USB port via USBFS_HPCS register. After system
initialization, the USB port stays at power-off state. After PP bit is set by software, the internal
USB PHY is powered on, and the USB port changes into disconnected state. After a
connection is detected, USB port changes into connected state. The USB port changes into
enabled state after a port reset is performed on USB bus.
Figure 24-4. State transition diagram of host port
Power-off
Dis-connected
Connected
Enabled
set PP bit
clear PP bit or VBUS is
not valid in OTG host mode
connection event
disconnection event
port reset
Clear PP bit
disconnection event
clear PE bit
clear PP bit
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...