User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 1857
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register ENDPTSTAT Details
For each endpoint, there is one buffer ready status (ENDPTSTAT) bit for the TX buffer and one bit for RX
buffer.
An ENDPTSTAT bit is set to a 1 by the hardware in a response to receiving an EP prime command (write 1
to usb.ENDPTPRIME regsiter). There will always be a delay between writing a 1 to a usb.ENDPTPRIME
register bit and the ENDPTSTAT bit asserting to indicate ready. This delay time varies based upon the
current USB traffic and the number of bits in the usb.ENDPTPRIME register that transition from 0 to 1.
An ENDPTSTAT bit is cleared in one of three ways: by a USB reset, by the DMA engine hardware, or by a
flush command using the usb.ENDPTFLUSH register.
Note: The ENDPTSTAT bit will be momentarily read = 0 during the time the hardware is retiring a dTD
and updating the dQH transfer descriptors.
Register (usb) ENDPTCOMPLETE
Software Name EPRDY
Relative Address 0x000001B8
Absolute Address usb0: 0xE00021B8
usb1: 0xE00031B8
Width 32 bits
Access Type ro
Reset Value 0x00000000
Description Endpoint Buffer Ready Status (Device mode), RO
Field Name Bits Type Reset Value Description
ETBR 31:16 ro 0x0 TxBuffer ready status (Device mode), read-only.
0: cleared by reset, DMA, or ENDPTFLUSH.
1: ENDPTPRIME command received.
Bit[16]: Endpoint 0.
Bit[17]: Endpoint 1.
...
Bit[28]: Endpoint 12.
Bits[31:29]: reserved.
ERBR 15:0 ro 0x0 RxBuffer ready status (Device mode), read-only.
0: cleared by reset, DMA, or ENDPTFLUSH.
1: ENDPTPRIME command received.
Bit[0]: Endpoint 0.
Bit[1]: Endpoint 1.
...
Bit[12]: Endpoint 12.
Bits[15:13]: reserved.
Name ENDPTCOMPLETE