User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 1859
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register ENDPTCTRL0 Details
Every device controller implements Endpoint 0 as a control endpoint.
Rx and Tx Endpoint Stall bits [0] and [16]:
Software can write a one to a stall bit to force the endpoint to return a STALL handshake to the Host. The
device controller will continue returning STALL until the bit is cleared by software or it will automatically
be cleared upon receipt of a new SETUP request. After receiving a SETUP request, the stall bit will continue
to be cleared by hardware until the associated ENDPTSETUPSTAT bit is cleared. Note: There is a slight
delay (50 clocks max.) between the ENDPTSETUPSTAT being cleared and hardware continuing to clear
this bit. In most systems it is unlikely the software will observe this delay. However, should the software
observe that the stall bit is not set after writing a 1 to it then follow this procedure: continually write this
stall bit until it is set or until a new SETUP has been received by checking the associated
ENDPTSETUPSTAT bit.
Absolute Address usb0: 0xE00021C0
usb1: 0xE00031C0
Width 24 bits
Access Type mixed
Reset Value 0x00800080
Description Endpoint 0 (Device mode)
Field Name Bits Type Reset Value Description
TXE
(EPCR_TXE)
23 ro 0x1 Transmit Endpoint Enable, read-only.
1: EP 0 is always enabled.
reserved 22:20 ro 0x0 reserved
TXT
(EPCR_TXT_INTR)
19:18 ro 0x0 TX Endpoint Type, read-only.
00: EP 0 is always a control endpoint.
reserved 17 ro 0x0 reserved
TXS
(EPCR_TXS)
16 rw 0x0 TX Endpoint Stall, read-only.
0: Normal operation.
1: Force Stall handshake.
Note: refer to the register description for more
description.
reserved 15:8 ro 0x0 reserved
RXE
(EPCR_RXE)
7 ro 0x1 RX Endpoint Enable, read-only.
1: EP 0
is always enabled.
reserved 6:4 ro 0x0 reserved
RXT
(EPCR_RXT_INTR)
3:2 ro 0x0 RX Endpoint Type, read-only.
00: EP0 is always a control endpoint.