UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
542 of 1269
NXP Semiconductors
UM10503
Chapter 23: LPC43xx USB0 Host/Device/OTG controller
23.6.21 USB Endpoint Status register (ENDPTSTAT)
One bit for each endpoint indicates status of the respective endpoint buffer. This bit is set
by hardware as a response to receiving a command from a corresponding bit in the
ENDPTPRIME register. There will always be a delay between setting a bit in the
ENDPTPRIME register and endpoint indicating ready. This delay time varies based upon
the current USB traffic and the number of bits set in the ENDPTPRIME register. Buffer
ready is cleared by USB reset, by the USB DMA system, or through the ENDPTFLUSH
register.
Remark:
These bits will be momentarily cleared by hardware during hardware endpoint
re-priming operations when a dTD is retired and the dQH is updated.
23.6.22 USB Endpoint Complete register (ENDPTCOMPLETE)
Each bit in this register indicates that a received/transmit event occurred and software
should read the corresponding endpoint queue to determine the transfer status. If the
corresponding IOC bit is set in the Transfer Descriptor, then this bit will be set
simultaneously with the USBINT.
15:6
-
Reserved
-
-
21:16
FETB
Flush endpoint transmit buffer for physical IN endpoints 5 to 0.
Writing a one to a bit(s) will clear any primed buffers.
FETB0 = endpoint 0
...
FETB5 = endpoint 5
0
R/WC
31:22
-
Reserved
-
-
Table 427. USB Endpoint Flush register (ENDPTFLUSH - address 0x4000 61B4) bit description
Bit
Symbol
Description
Reset
value
Access
Table 428. USB Endpoint Status register (ENDPTSTAT - address 0x4000 61B8) bit description
Bit
Symbol
Description
Reset
value
Access
5:0
ERBR
Endpoint receive buffer ready for physical OUT endpoints 5 to 0.
This bit is set to 1 by hardware as a response to receiving a command from a
corresponding bit in the ENDPTPRIME register.
ERBR0 = endpoint 0
...
ERBR5 = endpoint 5
0
RO
15:6
-
Reserved
-
-
21:16
ETBR
Endpoint transmit buffer ready for physical IN endpoints 3 to 0.
This bit is set to 1 by hardware as a response to receiving a command from a
corresponding bit in the ENDPTPRIME register.
ETBR0 = endpoint 0
...
ETBR5 = endpoint 5
0
RO
31:22
-
Reserved
-
-