
USB on-the-go full-speed (OTG_FS)
RM0008
858/1096
Doc ID 13902 Rev 12
Bit 6
PRES:
Port resume
The application sets this bit to drive resume signaling on the port. The core continues to drive
the resume signal until the application clears this bit.
If the core detects a USB remote wakeup sequence, as indicated by the Port resume/remote
wakeup detected interrupt bit of the Core interrupt register (WKUINT bit in
OTG_FS_GINTSTS), the core starts driving resume signaling without application intervention
and clears this bit when it detects a disconnect condition. The read value of this bit indicates
whether the core is currently driving resume signaling.
0: No resume driven
1: Resume driven
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