User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 1854
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register (usb) ENDPTSETUPSTAT
Register ENDPTSETUPSTAT Details
ES 2 ro 0x0 Reseverd, set = 0. (Endian Select)
CM 1:0 rw 0x0 Controller Mode is defaulted to the proper mode
for host only and device only implementations.
For those designs that contain both host & device
capability (OTG), the Controller will default to an
idle state and will need to be initialized to the
desired operating mode after reset. For
combination host/device controllers, this register
can only be written once after reset. If it is
necessary to switch modes, software must reset
the controller by writing to the RST bit in the
USBCMD register before reprogramming this
register.'00b' -> Idle (Default for combination
host/device).'01b' -> Reserved.'10b' -> Controller
in device mode (Default for device only
controller).'11b' -> Controller in host mode
(Default for host only controller).
Name ENDPTSETUPSTAT
Software Name EPSTAT
Relative Address 0x000001AC
Absolute Address usb0: 0xE00021AC
usb1: 0xE00031AC
Width 16 bits
Access Type wtc
Reset Value 0x00000000
Description Endpoint Status Setup (Device mode)
Field Name Bits Type Reset Value Description
Field Name Bits Type Reset Value Description
ENDPTSETUPSTAT 15:0 wtc 0x0 Setup Endpoint Status (Device mode).
When a Setup transaction is received, the
corresponding bit is set = 1. Software reads the
setup data from the Queue Head and then writes
a 1 to clear the status bit.
Bit[0]: Endpoint 0.
Bit[1]: Endpoint 1.
...
Bit[12]: Endpoint 12.
Other bits: reserved.