GD32F20x User Manual
918
–
PRST in this register is set
–
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
POCC
Port over-current change
Set by the core when the status of the PCA in this register changes
4
PCA
Port over-current active
Indicates the over-current condition of port
0: No over-current condition
1: Over-current condition
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 disconnection condition
–
Software clears this bit
0: Port disabled
1: Port enabled
1
PCD
Port connection detected
Set by USBFS when a device connection is detected. This bit can be cleared by
writing 1 to this bit.
0
PCST
Port connection status
0: Device is not connected to the port
1: Device is connected to the port
Host channel-x control register (USBFS_HCHxCTL) (x = 0..7 where x =
channel_number)
Address offset: (channel_number × 0x20)
Reset value: 0x0000 0000
This register has to be accessed by word (32-bit)
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...