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
541 of 1269
NXP Semiconductors
UM10503
Chapter 23: LPC43xx USB0 Host/Device/OTG controller
23.6.20 USB Endpoint Flush register (ENDPTFLUSH)
Writing a one to a bit(s) in this register will cause the associated endpoint(s) to clear any
primed buffers. If a packet is in progress for one of the associated endpoints, then that
transfer will continue until completion. Hardware will clear this register after the endpoint
flush operation is successful.
Table 426. USB Endpoint Prime register (ENDPTPRIME - address 0x4000 61B0) bit description
Bit
Symbol
Description
Reset
value
Access
5:0
PERB
Prime endpoint receive buffer for physical OUT endpoints 5 to 0.
For each OUT endpoint, a corresponding bit is set to 1 by software to request a
buffer be prepared for a receive operation for when a USB host initiates a USB
OUT transaction. Software should write a one to the corresponding bit
whenever posting a new transfer descriptor to an endpoint. Hardware will
automatically use this bit to begin parsing for a new transfer descriptor from the
queue head and prepare a receive buffer. Hardware will clear this bit when the
associated endpoint(s) is (are) successfully primed.
PERB0 = endpoint 0
...
PERB5 = endpoint 5
0
R/WS
15:6
-
Reserved
-
-
21:16
PETB
Prime endpoint transmit buffer for physical IN endpoints 5 to 0.
For each IN endpoint a corresponding bit is set to one by software to request a
buffer be prepared for a transmit operation in order to respond to a USB
IN/INTERRUPT transaction. Software should write a one to the corresponding
bit when posting a new transfer descriptor to an endpoint. Hardware will
automatically use this bit to begin parsing for a new transfer descriptor from the
queue head and prepare a transmit buffer. Hardware will clear this bit when the
associated endpoint(s) is (are) successfully primed.
PETB0 = endpoint 0
...
PETB5 = endpoint 5
0
R/WS
31:22
-
Reserved
-
-
Table 427. USB Endpoint Flush register (ENDPTFLUSH - address 0x4000 61B4) bit description
Bit
Symbol
Description
Reset
value
Access
5:0
FERB
Flush endpoint receive buffer for physical OUT endpoints 5 to 0.
Writing a one to a bit(s) will clear any primed buffers.
FERB0 = endpoint 0
...
FERB5 = endpoint 5
0
R/WC