Download UM10362

Transcript
D
D
R
R
R
R
R
D
D
D
D
R
R
D
R
A
FT
FT
FT
A
A
R
R
R
R
FT
D
D
0
FT
R/W
Suspend
Together with the PE (Port enabled bit), this bit describes the port states,
see Table 8–126 “Port states as described by the PE and SUSP bits in the
PORTSC1 register”.
A
0
A
R
R/W
R
Software sets this bit to one to drive resume signaling. The Host Controller
sets this bit to one if a J-to-K transition is detected while the port is in the
Suspend state. When this bit transitions to a one because a J-to-K
transition is detected, the Port Change Detect bit in the USBSTS register is
also set to one. This bit will automatically change to zero after the resume
sequence is complete. This behavior is different from EHCI where the host
controller driver is required to set this bit to a zero after the resume duration
is timed in the driver.
A
FT
D
R
A
Note that when the Host controller owns the port, the resume sequence
follows the defined sequence documented in the USB Specification
Revision 2.0. The resume signaling (Full-speed ‘K’) is driven on the port as
long as this bit remains a one. This bit will remain a one until the port has
switched to the high-speed idle. Writing a zero has no affect because the
port controller will time the resume operation clear the bit the port control
state switches to HS or FS idle.
This bit is 0 if PP (Port Power bit) is 0.
1
0
7
SUSP
Resume detected/driven on port.
No resume (K-state) detected/driven on port.
The host controller will unconditionally set this bit to zero when software
sets the Force Port Resume bit to zero. The host controller ignores a write
of zero to this bit.
If host software sets this bit to a one when the port is not enabled (i.e. Port
enabled bit is a zero) the results are undefined.
This bit is 0 if PP (Port Power bit) is 0.
1
Port in suspend state
When in suspend state, downstream propagation of data is blocked on this
port, except for port reset. The blocking occurs at the end of the current
transaction if a transaction was in progress when this bit was written to 1.
In the suspend state, the port is sensitive to resume detection. Note that
the bit status does not change until the port is suspended and that there
may be a delay in suspending a port if there is a transaction currently in
progress on the USB.
0
8
PR
Port not in suspend state
Port reset
R/W
0
When software writes a one to this bit the bus-reset sequence as defined in
the USB Specification Revision 2.0 is started. This bit will automatically
change to zero after the reset sequence is complete. This behavior is
different from EHCI where the host controller driver is required to set this
bit to a zero after the reset duration is timed in the driver.
This bit is 0 if PP (Port Power bit) is 0.
1
Port is in the reset state.
0
Port is not in the reset state.
UM10362_0
User manual
© NXP B.V. 2009. All rights reserved.
Rev. 00.02 — 9 September 2009
F
D
D
Force port resume
A
FT
Reset
value
FT
A
A
R
R
R
Access
D
D
D
FPR
D
D
D
6
Value Description
FT
FT
FT
FT
Symbol
A
A
A
A
R
R
D
D
D
Table 125. Port Status and Control register (PRTSC1 - address 0x1900 0184) - host mode …continued
FT
FT
FT
FT
FT
UM10362
Chapter 8: LPC314x High-speed USB On-The-Go (OTG) controller
Bit
A
A
A
A
A
NXP Semiconductors
138 of 577