USB on-the-go full-speed (OTG_FS)
RM0090
1288/1731
DocID018909 Rev 11
Bit 5
POCCHNG:
Port overcurrent change
The core sets this bit when the status of the Port overcurrent active bit (bit 4) in this register
changes.
Bit 4
POCA:
Port overcurrent active
Indicates the overcurrent condition of the port.
0: No overcurrent condition
1: Overcurrent condition
Bit 3
PENCHNG:
Port enable/disable change
The core sets this bit when the status of the Port enable bit 2 in this register changes.
Bit 2
PENA:
Port enable
A port is enabled only by the core after a reset sequence, and is disabled by an overcurrent
condition, a disconnect condition, or by the application clearing this bit. The application
cannot set this bit by a register write. It can only clear it to disable the port. This bit does not
trigger any interrupt to the application.
0: Port disabled
1: Port enabled
Bit 1
PCDET:
Port connect detected
The core sets this bit when a device connection is detected to trigger an interrupt to the
application using the host port interrupt bit in the Core interrupt register (HPRTINT bit in
OTG_FS_GINTSTS). The application must write a 1 to this bit to clear the interrupt.
Bit 0
PCSTS:
Port connect status
0: No device is attached to the port
1: A device is attached to the port