UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 19 December 2013  229 of 841
NXP Semiconductors
UM10360
Chapter 11: LPC176x/5x USB device controller
 
 
11.10.3.3 USB Endpoint Interrupt Clear register (USBEpIntClr - 0x5000  C238)
Writing a one to this a bit in this register causes the SIE Select Endpoint/Clear Interrupt 
command to be executed (Table 248
) for the corresponding physical endpoint. Writing 
zero has no effect. Before executing the Select Endpoint/Clear Interrupt command, the 
CDFULL bit in USBDevIntSt is cleared by hardware. On completion of the command, the 
CDFULL bit is set, USBCmdData contains the status of the endpoint, and the 
corresponding bit in USBEpIntSt is cleared. 
Notes:
• When clearing interrupts using USBEpIntClr, software should wait for CDFULL to be 
set to ensure the corresponding interrupt has been cleared before proceeding.
• While setting multiple bits in USBEpIntClr simultaneously is possible, it is not 
recommended; only the status of the endpoint corresponding to the least significant 
interrupt bit cleared will be available at the end of the operation. 
• Alternatively, the SIE Select Endpoint/Clear Interrupt command can be directly 
invoked using the SIE command registers, but using USBEpIntClr is recommended 
because of its ease of use.
Each physical endpoint has its own reserved bit in this register. The bit field definition is 
the same as that of USBEpIntSt shown in Table 201
. USBEpIntClr is a write-only register.
Table 203. USB Endpoint Interrupt Enable register (USBEpIntEn - address 0x5000  C234) bit allocation
Reset value: 0x0000 0000
Bit 31 30 29 28 27 26 25 24
Symbol
EP15TX EP15RX EP14TX EP14RX EP13TX EP13RX EP12TX EP12RX
Bit 23 22 21 20 19 18 17 16
Symbol
EP11TX EP11RX EP10TX EP10RX EP9TX EP9RX EP8TX EP8RX
Bit 15 14 13 12 11 10 9 8
Symbol
EP7TX EP7RX EP6TX EP6RX EP5TX EP5RX EP4TX EP4RX
Bit 7 6 5 4 3 2 1 0
Symbol
EP3TX EP3RX EP2TX EP2RX EP1TX EP1RX EP0TX EP0RX
Table 204. USB Endpoint Interrupt Enable register (USBEpIntEn - address 0x5000  C234) bit description
Bit Symbol Value Description Reset value
31:0 See USBEpIntEn bit 
allocation table above
0 The corresponding bit in USBDMARSt is set when an interrupt occurs 
for this endpoint.
0
1
The corresponding bit in USBEpIntSt is set when an interrupt 
occurs for this endpoint. 
Implies Slave mode for this endpoint.