Register Descriptions
1405
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
M3 Universal Serial Bus (USB) Controller
18.5.54 USB General-Purpose Control and Status Register (USBGPCS), offset 0x41C
The USB general-purpose control and status register (USBGPCS) provides the state of the internal ID
signal.
When used in OTG mode, USB0VBUS and USB0ID do not require any configuration as they are
dedicated pins for the USB controller and directly connect to the USB connector's VBUS and ID signals. If
the USB controller is used as either a dedicated Host or Device, the DEVMODOTG and DEVMOD bits in
the USB General-Purpose Control and Status (USBGPCS) register can be used to connect the
USB0VBUS and USB0ID inputs to fixed levels internally, freeing the pins for GPIO use. For proper self-
powered Device operation, the VBUS value must still be monitored to assure that if the Host removes
VBUS, the self-powered Device disables the D+/D- pull-up resistors. This function can be accomplished
by connecting a standard GPIO to VBUS.
Mode(s):
OTG A or Host
OTG B or Device
USBGPCS is shown in
and described in
Figure 18-65. USB General-Purpose Control and Status Register (USBGPCS)
31
2
1
0
Reserved
DEVMODOTG
DEVMOD
R-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 18-70. USB General-Purpose Control and Status
Register (USBGPCS) Field Descriptions
Bit
Field
Value
Description
31-2
Reserved
0
Reserved. Reset is 0x0000.000.
1
DEVMODOT
G
Enable Device Mode. This bit enables the DEVMOD bit to control the state of the internal ID signal in
OTG mode.
0
The mode is specified by the state of the internal ID signal.
1
This bit enables the DEVMOD bit to control the internal ID signal.
0
DEVMOD
Device Mode This bit specifies the state of the internal ID signal in Host mode and in OTG mode when
the DEVMODOTG bit is set.
In Device mode this bit is ignored (assumed set).
0
Host mode
1
Device mode