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
164 of 571
NXP Semiconductors
UM10316
Chapter 13: LPC29xx USB device
9.2.6 USB Device Interrupt Priority register (USBDevIntPri - 0xE010 C22C)
Writing one to a bit in this register causes the corresponding interrupt to be routed to the
USB_INT_REQ_HP interrupt line. Writing zero causes the interrupt to be routed to the
USB_INT_REQ_LP interrupt line. Either the EP_FAST or FRAME interrupt can be routed
to USB_INT_REQ_HP, but not both. If the software attempts to set both bits to one, no
interrupt will be routed to USB_INT_REQ_HP. USBDevIntPri is a write only register.
9.3 Endpoint interrupt registers
The registers in this group facilitate handling of endpoint interrupts. Endpoint interrupts are
used in Slave mode operation.
9.3.1 USB Endpoint Interrupt Status register (USBEpIntSt - 0xE010 C230)
Each physical non-isochronous endpoint is represented by a bit in this register to indicate
that it has generated an interrupt. All non-isochronous OUT endpoints generate an
interrupt when they receive a packet without an error. All non-isochronous IN endpoints
generate an interrupt when a packet is successfully transmitted, or when a NAK
handshake is sent on the bus and the interrupt on NAK feature is enabled (see
13–11.3 “Set Mode (Command: 0xF3, Data: write 1 byte)” on page 186
). A bit set to one in
Table 127. USB Device Interrupt Set register (USBDevIntSet - address 0xE010 C20C) bit allocation
Reset value: 0x0000 0000
Bit
31
30
29
28
27
26
25
24
Symbol
-
-
-
-
-
-
-
-
Bit
23
22
21
20
19
18
17
16
Symbol
-
-
-
-
-
-
-
-
Bit
15
14
13
12
11
10
9
8
Symbol
-
-
-
-
-
-
ERR_INT
EP_RLZED
Bit
7
6
5
4
3
2
1
0
Symbol
TxENDPKT
Rx
ENDPKT
CDFULL
CCEMPTY
DEV_STAT
EP_SLOW
EP_FAST
FRAME
Table 128. USB Device Interrupt Set register (USBDevIntSet - address 0xE010 C20C) bit description
Bit
Symbol
Value
Description
Reset value
31:0
See
USBDevIntSet
bit allocation
table above
0
No effect.
0
1
The corresponding bit in USBDevIntSt (
) is set.
Table 129. USB Device Interrupt Priority register (USBDevIntPri - address 0xE010 C22C) bit description
Bit
Symbol
Value
Description
Reset value
0
FRAME
0
FRAME interrupt is routed to USB_INT_REQ_LP.
0
1
FRAME interrupt is routed to USB_INT_REQ_HP.
1
EP_FAST
0
EP_FAST interrupt is routed to USB_INT_REQ_LP.
0
1
EP_FAST interrupt is routed to USB_INT_REQ_HP.
7:2
-
-
Reserved, user software should not write ones to reserved bits. The value
read from a reserved bit is not defined.
NA