Texas Instruments TMS320C6747 DSP manual HC Port 1 Status and Control Register HCRHPORTSTATUS1

Page 30

Registers

www.ti.com

3.22 HC Port 1 Status and Control Register (HCRHPORTSTATUS1)

The HC port 1 status and control register (HCRHPORTSTATUS1) reports and controls the state of USB host port 1. HCRHPORTSTATUS1 is shown in Figure 23 and described in Table 23.

Figure 23. HC Port 1 Status and Control Register (HCRHPORTSTATUS1)

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/W1C-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 23. HC Port 1 Status and Control Register (HCRHPORTSTATUS1) Field Descriptions

Bit

Field

Value

Description

 

 

 

 

 

 

 

 

31-21

Reserved

0

Reserved

 

 

 

 

 

 

 

 

20

PRSC

 

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

 

 

 

 

0

Port 1 port reset status bit has not changed.

 

 

 

 

 

 

 

 

1

Port 1 port reset status bit has changed.

 

 

 

 

 

 

19

OCIC

0

Port 1 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 1 suspend status change. A write of 1 clears this bit; a write of 0 has no effect.

 

 

 

 

0

Port 1 port suspend status has not changed.

 

 

 

 

 

 

 

 

1

Port 1 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 1 enable status change. A write of 1 clears this bit; a write of 0 has no effect.

 

 

 

 

0

Port 1 port enable status has not changed.

 

 

 

 

 

 

 

 

1

Port 1 port enable status has changed.

 

 

 

 

 

 

16

CSC

 

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

 

 

 

is set to 1 to indicate a nonremovable USB device on port 1, 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 1 current connect status has not changed.

 

 

 

 

 

 

 

 

1

Port 1 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 1 low-speed device attached/clear port power. This bit is valid only when port 1 current

 

 

 

 

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

 

 

 

status bit; a write of 0 has no effect. 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. This bit has no relationship to the OTG controller register bits that relate to VBUS. System

 

 

 

software can update this register to simplify host controller driver and/or OTG driver coding.

 

 

 

0

Full-speed device is attached to port 1.

 

 

 

 

 

 

 

 

1

Low-speed device is attached to port 1.

 

 

 

 

 

 

30

Universal Serial Bus OHCI Host Controller

SPRUFM8–September 2008

Submit Documentation Feedback

Image 30
Contents Users Guide Literature Number SPRUFM8 SeptemberSPRUFM8-September Contents List of Figures List of Tables Read This First Universal Serial Bus Ohci Host Controller Purpose of the PeripheralInternal System Bus Clocks Needed by the USB1 Module USB1 Module Clock and Reset2 USB1 Module Local Bus Clock and Local Reset 3 USB1 Module Bus 48-MHz Reference ClockUSB1 Module Differences From Ohci Specification for USB USB1 Module Open Host Controller Interface FunctionalityImplementation of Ohci Specification for USB Ohci USB Suspend StatePhysical Addressing USB Host Controller Access to System MemoryOhci Interrupts MMUUSB Host Controller Registers Ohci Revision Number Register Hcrevision Field Descriptions HC Operating Mode Register HccontrolOhci Revision Number Register Hcrevision REVControl ED per bulk ED Control list enablePeriodic list enable Control EDs per bulk EDOCR BLF CLF HCR HC Command and Status Register HccommandstatusSOC OCRHC Interrupt and Status Register Hcinterruptstatus Rhsc FNO WDHRhsc HC Interrupt Enable Register Hcinterruptenable MIEHC Interrupt Disable Register Hcinterruptdisable HC Hcaa Address Register Hchcca Field Descriptions HC Hcaa Address Register HchccaHC Current Periodic Register Hcperiodcurrented HccaHC Head Control Register Hccontrolheaded HC Head Control Register Hccontrolheaded Field DescriptionsChed HC Current Control Register Hccontrolcurrented CcedController HC Head Bulk Register Hcbulkheaded Field Descriptions HC Head Bulk Register HcbulkheadedHC Current Bulk Register Hcbulkcurrented HC Current Bulk Register Hcbulkcurrented Field DescriptionsHC Head Done Register Hcdonehead Field Descriptions HC Head Done Register HcdoneheadHC Frame Interval Register Hcfminterval HC Frame Interval Register Hcfminterval Field DescriptionsHC Frame Number Register Hcfmnumber Field Descriptions HC Frame Remaining Register HcfmremainingHC Frame Number Register Hcfmnumber FRTHC Periodic Start Register Hcperiodicstart HC Periodic Start Register Hcperiodicstart628h HC Low-Speed Threshold Register HclsthresholdLST Reserved 13-0Potpg HC Root Hub a Register HcrhdescriptoraHC Root Hub a Register Hcrhdescriptora Field Descriptions Nocp Ocpm NPS PSM NDPPPCM3 PPCM2 PPCM1 PPCM0 HC Root Hub B Register HcrhdescriptorbHC Root Hub B Register Hcrhdescriptorb Field Descriptions PPCM3HC Root Hub Status Register Hcrhstatus HC Root Hub Status Register Hcrhstatus Field DescriptionsHC Port 1 Status and Control Register HCRHPORTSTATUS1 PRS/SPR HC Port 2 Status and Control Register HCRHPORTSTATUS2 Effect Port 2 current connect status has not changedEnd of the USB reset sequence When read as 0, USB reset is not being sent to portBegin signaling USB reset to port Write of 1 to this bit clears the port 2 port enable bitDSP Rfid