User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 409
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
15.3.6 OTG Status/Interrupt and Control Register
The programming model for On-the-Go (OTG) USB is supported by the OTG status and control register
(OTGSC). The OTG operation works independently of the host and device modes. In OTG mode, once the
controller has determined which mode to operate in, the full features of that mode (host or device) are
available to the software.
Please refer to 15.14.2 OTG Interrupt and Control Bits.
15.4 Device Mode Control
When the controller is in device mode, software enables its control endpoint, prepares descriptors based
on the functionality of the device and prepares the necessary endpoints.
Table 15-2: USB Interrupt and Status Register Bits
USBSTS
(status)
Bit Field
Type
USBINTR
(enable)
Bit Field
Description
Dev Host
Cross Reference
[TI1]
25 Interrupt 25 Timer 1. xx
15.2.6 General Purpose Timers
[TI0]
24 Interrupt 24 Timer 0. xx
[UPI]
19 Interrupt 19 Periodic qTD complete. ~x
[UAI]
18 Interrupt 18 Async qTD complete. ~x
[NAKI]
16 Interrupt 16 Device generated NAK. x~
[AS]
15 Status-only na Async Schedule state. ~x
[PS]
14 Status-only na Periodic Schedule state. ~x
[RCL]
13 Status-only na Host Reclamation status. ~x
[HCH]
12 Status-only na Halt status of Run/Stop.
[ULPII]
10 Interrupt 10 ULPI Viewport transfer complete. xx
[SLI]
8 Interrupt 8 Device enters Suspend state. x~
[SRI]
7 Interrupt 7 Start of Frame (SOF) received. x~
Table 15-17
[URI]
6 Interrupt 6 Reset received. x~
[AAI]
5 Interrupt 5 Async schedule advance. ~x
[SEI]
4 Interrupt 4 System Error response on AHB. xx
[FRI]
3 Interrupt 3 Periodic Frame List rollover. ~x
[PCI]
2 Interrupt 2 Port Change Detect. xx
[UEI]
1 Interrupt 1 USB Transaction Error.
[UI]
0Interrupt 0TD complete x
Table 15-17