User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 463
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
15.12.6 Queue Head (QH)
The first three DWords of the QH include Static State information about the endpoint. The current
qTD pointer is the system memory address pointer for the current qTD and is updated by the
hardware when a new qTD is written (overlaid) in the QH’s overlay area.
QH Horizontal Link Pointer, DWord 0
The first DWord of a Queue Head contains a link pointer to the next data object to be processed after
any required processing in this queue has been completed, as well as the control bits defined below.
This pointer can reference a queue head or one of the isochronous transfer descriptors. It must not
reference a queue element transfer descriptor.
Table 15-40: USB Host Queue Head (QH) Descriptor Format
Reference Type 3130292827262524232221201918171615 14 13 12 1110 9 8 7 6 5 4 3 2 1 0 DWord
Table 15-41
Static
Endpoint
State
Queue Head Horizontal Link Pointer 00 TYP T
0
Table 15-42
RL C Maximum Packet Length H DTC EPS EndPt I Device Address
1
Mult Port Number * Hub Addr * uFrame C-mask * uFrame S-mask 2
Table 15-43
Current Pointer
Current qTD Pointer 00000 3
Table 15-44
Transfer Overlay Area
Next qTD Pointer 0000 T 4
Transfer Results
Area
Alternate Next qTD Pointer NakCnt T 5
DT Total Bytes
IOC
C_Page Cerr PID Status P 6
Buffer Pointer (Page 0) Current Offset 7
Buffer Pointer (Page 1) reserved C-prog-mask * 8
Buffer Pointer (Page 2) S-Bytes * Split_Frame_Tag * 9
Table 15-45
Buffer Pointer (Page 3) reserved 10
Buffer Pointer (Page 4) reserved 11
Host Controller Read/Write Host Controller Read-only
* means these fields are used exclusively to support Split Transactions to USB 2.0 Hubs.
Table 15-41: USB Host QH DWord 0: Link Pointer
Bits Description
31:5 Queue Head Horizontal Link Pointer. System memory address of the next data object in the
periodic list.
4:3 Reserved. Field reserved and should be set to 0.
2:1
Transaction Descriptor Type, TYP. Set to 01 (QH type). Refer to section 15.12.2 Transfer Descriptor
Type (TYP) Field for general information.
0 Termination Bit, T.
Periodic List Schedule response:
0: link to the next QH; the Queue Head Horizontal Link Pointer field is valid.
1: end of the periodic list processing; the pointer field is invalid.
Asynchronous Schedule response: Ignored.