GD32F10x User Manual
816
Bit 10: State of DP line
Bit 11: State of DM line
9
Reserved
Must be kept at reset value.
8
PRST
Port reset
Application sets this bit to start a reset signal on USB port. Application should clear
this bit when it wants to stop the reset signal.
0: Port is not in reset state
1: Port is in reset state
7
PSP
Port suspend
Application sets this bit to put port into suspend state. When this bit is set the port
stops sending SOF tokens. This bit can only be cleared by the following operations:
PRST bit in this register is set by application
PREM bit in this register is set
A remote wakeup signal is detected
A device disconnect is detected
0: Port is not in suspend state
1: Port is in suspend state
6
PREM
Port resume
Application sets this bit to start a resume signal on USB port. Application should
clear this bit when it wants to stop the resume signal.
0: No resume driven
1: Resume driven
5:4
Reserved
Must be kept at reset value.
3
PEDC
Port enable/disable change
Set by the core when the status of the Port enable bit 2 in this register changes.
2
PE
Port Enable
This bit is automatically set by USBFS after a USB reset signal finishes and cannot
be set by software.
This bit is cleared by the following events:
A disconnect condition
Software clearing this bit
0: Port disabled
1: Port enabled
1
PCD
Port connect detected
Set by USBFS when a device connection is detected. This bit can be cleared by
writing 1 to this bit.
0
PCST
Port connect status
0: Device is not connected to the port
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 ...