Texas Instruments TMS320C6747 DSP HC Port 2 Status and Control Register HCRHPORTSTATUS2, Field

Models: TMS320C6747 DSP

1 34
Download 34 pages 39.94 Kb
Page 32
Image 32
3.23 HC Port 2 Status and Control Register (HCRHPORTSTATUS2)

Registers

www.ti.com

3.23 HC Port 2 Status and Control Register (HCRHPORTSTATUS2)

The HC port 2 status and control register (HCRHPORTSTATUS2) reports and controls the state of USB host port 2. HCRHPORTSTATUS2 is shown in Figure 24 and described in Table 24.

Figure 24. HC Port 2 Status and Control Register (HCRHPORTSTATUS2)

31

 

 

 

 

 

21

20

19

18

17

16

 

 

 

Reserved

 

 

 

PRSC

OCIC

PSSC

PESC

CSC

 

 

 

R-0

 

 

 

R/W1C-0

R/W-0

R/W1C-0 R/W1C-0

R/W-0

15

 

 

 

 

 

 

10

 

9

8

 

 

 

 

Reserved

 

 

 

LSDA/CPP

PPS/SPP

 

 

 

R-0

 

 

 

 

R/W-0

R/W-1

7

 

 

5

4

3

 

2

 

1

0

 

 

Reserved

 

 

PRS/SPR

POCI/CSS

PSS/SPS

PES/SPE

CCS/CPE

 

R-0

 

 

R/W-0

R/W-0

 

R/W-0

R/W-0

R/W-0

LEGEND: R/W = Read/Write; R = Read only; W1C = Write 1 to clear (writing 0 has no effect); -n= value after reset

 

 

 

Table 24. HC Port 2 Status and Control Register (HCRHPORTSTATUS2) Field Descriptions

Bit

Field

Value

Description

 

 

 

 

 

 

 

 

31-21

Reserved

0

Reserved

 

 

 

 

 

 

 

 

20

PRSC

 

Port 2 reset status change. A write of 1 clears this bit; a write of 0 has no effect.

 

 

 

 

0

Port 2 port reset status bit has not changed.

 

 

 

 

 

 

 

 

1

Port 2 port reset status bit has changed.

 

 

 

 

 

 

19

OCIC

0

Port 2 overcurrent indicator change. Because the device does not provide inputs for signaling

 

 

 

 

external overcurrent indication to the USB host controller, this bit is always 0. Overcurrent

 

 

 

 

monitoring, if required, must be handled through some other mechanism. This bit has no

 

 

 

 

relationship to the OTG controller register bits that relate to VBUS.

 

 

 

 

18

PSSC

 

Port 2 suspend status changed. A write of 1 clears this bit; a write of 0 has no effect.

 

 

 

0

Port 2 port suspend status has not changed.

 

 

 

 

 

 

 

 

1

Port 2 port suspend status has changed. Suspend status is considered to have changed only after

 

 

 

the resume pulse, low-speed EOP, and 3-ms synchronization delays have been completed.

 

17

PESC

 

Port 2 enable status change. A write of 1 clears this bit; a write of 0 has no effect.

 

 

 

 

0

Port 2 port enable status has not changed.

 

 

 

 

 

 

 

 

1

Port 2 port enable status has changed.

 

 

 

 

 

 

16

CSC

 

Port 2 connect status change. If the DR[2] bit in the HC root hub B register (HCRHDESCRIPTORB)

 

 

 

is set to 1 to indicate a nonremovable USB device on port 2, this bit is set only after a root hub

 

 

 

reset to inform the system that the device is attached. A write of 1 clears this bit; a write of 0 has no

 

 

 

effect.

 

 

 

 

 

 

 

 

 

 

0

Port 2 current connect status has not changed.

 

 

 

 

 

 

 

 

1

Port 2 current connect status has changed due to a connect or disconnect event. If current connect

 

 

 

status is 0 when a set port reset, set port enable, or set port suspend write occurs, then this bit is

 

 

 

set.

 

 

 

 

 

 

 

 

15-10

Reserved

0

Reserved

 

 

 

 

 

 

 

 

9

LSDA/CPP

 

Port 2 low-speed device attached/clear port power. This bit indicates, when read as 1, that a

 

 

 

 

low-speed device is attached to port 2. A 0 in this bit indicates a full-speed device. This bit is valid

 

 

 

only when port 2 current connect status is 1. The USB host controller does not control external port

 

 

 

power using OHCI mechanisms, so, if required, USB host port power must be controlled through

 

 

 

other means.

 

 

 

 

 

 

 

 

 

 

0

A write of 0 to this bit has no effect.

 

 

 

 

 

 

 

 

1

The host controller driver can write a 1 to this bit to clear the port 2 port power status.

 

32

Universal Serial Bus OHCI Host Controller

SPRUFM8–September 2008

Submit Documentation Feedback

Page 32
Image 32
Texas Instruments TMS320C6747 DSP HC Port 2 Status and Control Register HCRHPORTSTATUS2, Registers, Field, Description