17.5.53 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 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 should be used to connect the ID inputs to
fixed levels internally. For proper self-powered Device operation, the VBUS value must 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):
Host
Device
USBGPCS is shown in
Figure 17-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 17-68. 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
Universal Serial Bus (USB) Controller
1136
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......