Texas Instruments TMS320C6747 DSP Network Card User Manual


 
www.ti.com
Registers
Table24.HCPort2StatusandControlRegister(HCRHPORTSTATUS2)FieldDescriptions(continued)
BitFieldValueDescription
8PPS/SPPPort2portpowerstatus/setportpower.Thisbitindicates,whenreadas1,thattheport2poweris
enabled.Whenreadas0,port2powerisnotenabled.Thedevicedoesnotprovidesignalsfrom
theUSBhostcontrollertocontrolexternalportpower,so,ifrequired,USBhostportpowercontrol
signalsmustbecontrolledthroughothermeans.Softwarecantrackthecurrentpowerstateusing
theportpowerstatusbitandotherpowercontrolbits,butthosebitshavenodirecteffecton
externalportpowercontrol.ThisbithasnorelationshiptotheOTGcontrollerregisterbitsthatrelate
toVBUS.Systemsoftwarecanupdatethisregistertosimplifyhostcontrollerdriverand/orOTG
drivercoding.
0Awriteof0hasnoeffect.
1Awriteof1tothisbitsetstheport2portpowerstatusbit.
7-5Reserved0Reserved
4PRS/SPRPort2portresetstatus/setportreset.Whenreadas1,indicatesthatport2issendingaUSBreset.
Whenreadas0,USBresetisnotbeingsenttoport2.
0Awriteof0tothisbithasnoeffect.
1Awriteof1tothisbitsetstheport2portresetstatusbitandcausestheUSBhostcontrollerto
beginsignalingUSBresettoport2.
3POCI/CSSPort2portovercurrentindicator/clearsuspendstatus.Whenreadas1,indicatesthataport2port
overcurrentconditionhasoccurred.When0,noport2portovercurrentconditionhasoccurred.The
devicedoesnotprovideinputsforsignalingexternalovercurrentindicationtotheUSBhost
controller.Overcurrentmonitoring,ifrequired,mustbehandledthroughsomeothermechanism.
ThisbithasnorelationshiptotheOTGcontrollerregisterbitsthatrelatetoVBUS.
0Awriteof0hasnoeffect.
1Awriteof1tothisbitwhenport2portsuspendstatusis1causesresumesignalingonport2.A
writeof1whenport2portsuspendstatusis0hasnoeffect.
2PSS/SPSPort2portsuspendstatus/setportsuspend.Whenreadas1,indicatesthatport2isintheUSB
suspendstate,orisintheresumesequence.When0,indicatesthatport2isnotintheUSB
suspendstate.ThisbitisclearedautomaticallyattheendoftheUSBresumesequenceandalsoat
theendoftheUSBresetsequence.
0Awriteof0tothisbithasnoeffect.
1Ifport2currentconnectstatusis1,awriteof1tothisbitsetstheport2portsuspendstatusbit
andplacesport2inUSBsuspendstate.Ifcurrentconnectstatusis0,awriteof1insteadsets
connectstatuschangetoinformtheUSBhostcontrollerdriversoftwareofanattempttosuspenda
disconnecteddevice.
1PES/SPEPort2portenablestatus/setportenable.Whenreadas1,indicatesthatport2isenabled.When
readas0,thisbitindicatesthatport2isnotenabled.Thisbitisautomaticallysetatcompletionof
port2USBresetifitwasnotalreadysetbeforetheUSBresetcompletedandisautomaticallyset
attheendofaUSBsuspendiftheportwasnotenabledwhentheUSBresumecompleted.
0Awriteof0hasnoeffect.
1Awriteof1tothisbitwhenport2currentconnectstatusis1setstheport2portenablestatusbit.
Awriteof1whenport2currentconnectstatusis0hasnoeffect.
0CCS/CPEPort2currentconnectionstatus/clearportenable.Whenreadas1,indicatesthatport2currently
hasaUSBdeviceattached.When0,indicatesthatnoUSBdeviceisattachedtoport2.Thisbitis
setto1afterroothubresetiftheHCRHDESCRIPTORB.DR[2]bitissettoindicatea
non-removabledeviceonport2.
0Awriteof0tothisbithasnoeffect.
1Awriteof1tothisbitclearstheport2portenablebit.
SPRUFM8September2008UniversalSerialBusOHCIHostController33
SubmitDocumentationFeedback