DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
166 of 571
NXP Semiconductors
UM10316
Chapter 13: LPC29xx USB device
9.3.2 USB Endpoint Interrupt Enable register (USBEpIntEn - 0xE010 C234)
Setting a bit to 1 in this register causes the corresponding bit in USBEpIntSt to be set
when an interrupt occurs for the associated endpoint. Setting a bit to 0 causes the
corresponding bit in USBDMARSt to be set when an interrupt occurs for the associated
endpoint. USBEpIntEn is a read/write register.
9.3.3 USB Endpoint Interrupt Clear register (USBEpIntClr - 0xE010 C238)
Writing a one to this a bit in this register causes the SIE Select Endpoint/Clear Interrupt
command to be executed (
) 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.
25
EP12TX
Endpoint 12, Isochronous endpoint.
NA
26
EP13RX
Endpoint 13, Data Received Interrupt bit.
0
27
EP13TX
Endpoint 13, Data Transmitted Interrupt bit or sent a NAK.
0
28
EP14RX
Endpoint 14, Data Received Interrupt bit.
0
29
EP14TX
Endpoint 14, Data Transmitted Interrupt bit or sent a NAK.
0
30
EP15RX
Endpoint 15, Data Received Interrupt bit.
0
31
EP15TX
Endpoint 15, Data Transmitted Interrupt bit or sent a NAK.
0
Table 131. USB Endpoint Interrupt Status register (USBEpIntSt - address 0xE010 C230) bit description
Bit
Symbol
Description
Reset value
Table 132. USB Endpoint Interrupt Enable register (USBEpIntEn - address 0xE010 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 133. USB Endpoint Interrupt Enable register (USBEpIntEn - address 0xE010 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.