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
162 of 571
NXP Semiconductors
UM10316
Chapter 13: LPC29xx USB device
9.2.3 USB Device Interrupt Enable register (USBDevIntEn - 0xE010 C204)
Writing a one to a bit in this register enables the corresponding bit in USBDevIntSt to
generate an interrupt on one of the interrupt lines when set. By default, the interrupt is
routed to the USB_INT_REQ_LP interrupt line. Optionally, either the EP_FAST or FRAME
interrupt may be routed to the USB_INT_REQ_HP interrupt line by changing the value of
USBDevIntPri. USBDevIntEn is a read/write register.
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 122. USB Device Interrupt Status register (USBDevIntSt - address 0xE010 C200) bit description
Bit
Symbol
Description
Reset value
0
FRAME
The frame interrupt occurs every 1 ms. This is used in isochronous packet transfers.
0
1
EP_FAST
Fast endpoint interrupt. If an Endpoint Interrupt Priority register (USBEpIntPri) bit is
set, the corresponding endpoint interrupt will be routed to this bit.
0
2
EP_SLOW
Slow endpoints interrupt. If an Endpoint Interrupt Priority Register (USBEpIntPri) bit is
not set, the corresponding endpoint interrupt will be routed to this bit.
0
3
DEV_STAT
Set when USB Bus reset, USB suspend change or Connect change event occurs.
Refer to
Section 13–11.6 “Set Device Status (Command: 0xFE, Data: write 1 byte)” on
0
4
CCEMPTY
The command code register (USBCmdCode) is empty (New command can be written). 1
5
CDFULL
Command data register (USBCmdData) is full (Data can be read now).
0
6
RxENDPKT
The current packet in the endpoint buffer is transferred to the CPU.
0
7
TxENDPKT
The number of data bytes transferred to the endpoint buffer equals the number of
bytes programmed in the TxPacket length register (USBTxPLen).
0
8
EP_RLZED
Endpoints realized. Set when Realize Endpoint register (USBReEp) or MaxPacketSize
register (USBMaxPSize) is updated and the corresponding operation is completed.
0
9
ERR_INT
Error Interrupt. Any bus error interrupt from the USB device. Refer to
“Read Error Status (Command: 0xFB, Data: read 1 byte)” on page 189
0
31:10 -
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
NA
Table 123. USB Device Interrupt Enable register (USBDevIntEn - address 0xE010 C204) 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