
Universal Serial Bus Interface – On-The-Go Module
Freescale Semiconductor
21-35
21.3.3.15 On-the-Go Status and Control Register (OTGSC)
This register is not defined in the EHCI specification. The host controller implements one OTGSC register
corresponding to port 0 of the host controller.
The OTGSC register has four sections:
•
OTG interrupt enables (read/write)
•
OTG interrupt status (read/write to clear)
•
OTG status inputs (read-only)
•
OTG controls (read/write)
The status inputs de-bounce using a 1 ms time constant. Values on the status inputs that do not persist for
more than 1 ms do not cause an update of the status inputs or an OTG interrupt.
3
PEC
Port enable/disable change. For the root hub, this bit gets set only when a port is disabled due to disconnect on the
port or due to the appropriate conditions existing at the EOF2 point (See Chapter 11 of the USB Specification).
Software clears this by writing a 1 to it.
In device mode (USB OTG only), the device port is always enabled. (This bit is zero).
0 No change.
1 Port disabled.
This field is cleared if the PP bit is cleared.
2
PE
Port enabled/disabled.
Host mode (USB host and USB OTG):
Ports can only be enabled by the controller as a part of the reset and enable sequence. Software cannot enable
a port by setting this bit. A fault condition (disconnect event or other fault condition) or host software can disable
ports. The bit status does not change until the port state actually changes. There may be a delay in disabling or
enabling a port due to other host and bus events.
When the port is disabled, downstream propagation of data is blocked except for reset. This field is cleared if the
PP bit is cleared in host mode.
Device mode (USB USB OTG only):
The device port is always enabled. (This bit is set).
1
CSC
Connect change status.
Host mode (USB host and USB OTG):
This bit indicates a change occurred in the port’s current connect status. The controller sets this bit for all changes
to the port device connect status, even if system software has not cleared an existing connect status change. For
example, the insertion status changes twice before system software has cleared the changed condition; hub
hardware is setting an already-set bit (i.e., the bit remains set). Software clears this bit by writing a 1 to it. This
field is cleared if the PP bit is cleared.
0 No change.
1 Connect status has changed.
In device mode (USB USB OTG only), this bit is undefined.
0
CCS
Current connect status. Indicates that a device successfully attaches and operates in high speed or full speed as
indicated by the PSPD bit. If clear, the device did not attach successfully or forcibly disconnects by the software
clearing the USBCMD[RUN] bit. It does not state the device disconnected or suspended. This field is cleared if the
PP bit is cleared in host mode.
0 No device present (host mode) or attached (device mode)
1 Device is present (host mode) or attached (device mode)
Table 21-31. PORTSC1 Field Descriptions (continued)
Field
Description
MCF5329 Reference Manual, Rev 3
Содержание MCF5329
Страница 106: ...ColdFire Core 3 32 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 126: ...Enhanced Multiply Accumulate Unit EMAC 4 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 148: ...Cache 5 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 154: ...Static RAM SRAM 6 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 184: ...Power Management 8 18 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 204: ...Reset Controller Module 10 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 220: ...System Control Module SCM 11 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 228: ...Crossbar Switch XBS 12 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 268: ...General Purpose I O Module 13 40 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 392: ...SDRAM Controller SDRAMC 18 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 436: ...Fast Ethernet Controller FEC 19 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 564: ...Liquid Crystal Display Controller LCDC 22 44 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 594: ...FlexCAN 23 30 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 678: ...Pulse Width Modulation PWM Module 26 22 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 684: ...Watchdog Timer Module 27 6 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 692: ...Programmable Interrupt Timers PIT0 PIT3 28 8 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 704: ...DMA Timers DTIM0 DTIM3 29 12 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 720: ...Queued Serial Peripheral Interface QSPI 30 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 754: ...UART Modules 31 34 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 770: ...I2 C Interface 32 16 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 790: ...Message Digest Hardware Accelerator MDHA 33 20 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 866: ...Debug Module 36 50 Freescale Semiconductor MCF5329 Reference Manual Rev 3...
Страница 902: ...Register Memory Map Quick Reference A 26 Freescale Semiconductor MCF5329 Reference Manual Rev 3...