User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 428
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
15.7.2 Endpoint Transfer Descriptor (dTD)
The dTD describes to the device controller the location and quantity of data to be sent/received for
given transfer. The DCD should not attempt to modify any field in an active dTD except the Next dTD
Pointer.
The dTD descriptors are illustrated in Table 15-14. The fields are detailed in Table 15-8 and described
in section 15.7.3 Endpoint Transfer Overlay Area.
15 Interrupt On Setup, IOS. This bit is used on control type endpoints to indicate if USBINT is set in
response to a setup being received.
14:0 Reserved. Field reserved and should be set to 0.
DWord 1: Current dTD Pointer
31:5 Current dTD Pointer. Pointer to the dTD that is represented in the transfer overlay area. This field
will be modified by the Device Controller to next dTD pointer during endpoint priming or queue
advance.
The current dTD pointer is used by the device controller to locate the transfer in progress. This word
is for the Device Controller hardware’s use only and should not be modified by the DCD.
4:0 Reserved. Field reserved and should be set to 0.
DWords 2 to 8: Overlay Area, refer to Table 15-15 USB Device Transfer Overlay.
DWord 9: reserved.
DWord 10: Setup Buffer Bytes 3:0
31:24
24:16
15:8
7:0
Byte 3
Byte 2
Byte 1
Byte 0
Table 15-13: USB Device dQH DWords 0 to 11: Descriptor Bit Details (Contd)
Bits Description
Table 15-14: USB Device Transfer Descriptor (dTD) Format
Reference Type 313029282726252423222120191817161514 13 121110 9 8 7 6 5 4 3 2 1 0 DWord
Table 15-15
Transfer Overlay Area
Next dTD Pointer 0000 T 0
0 Total Bytes
IOC
C_Page MultO 0 Status 1
Buffer Pointer (Page 0)
Current Offset 2
Buffer Pointer (Page 1)
R Frame Number 3
Buffer Pointer (Page 2) reserved 4
Buffer Pointer (Page 3) reserved 5
Buffer Pointer (Page 4) reserved 6
Device Controller Read/Write Device Controller Read-only