
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
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
193 of 808
NXP Semiconductors
UM10360
Chapter 11: LPC17xx USB device controller
10.2.3 USB Device Interrupt Enable register (USBDevIntEn - 0x5000 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.
10.2.4 USB Device Interrupt Clear register (USBDevIntClr - 0x5000 C208)
Writing one to a bit in this register clears the corresponding bit in USBDevIntSt. Writing a
zero has no effect.
3
DEV_STAT
Set when USB Bus reset, USB suspend change or Connect change event occurs.
Refer to
Section 11–12.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 220
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 171. USB Device Interrupt Status register (USBDevIntSt - address 0x5000 C200) bit description
Bit
Symbol
Description
Reset value
Table 172. USB Device Interrupt Enable register (USBDevIntEn - address 0x5000 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
Bit
7
6
5
4
3
2
1
0
Symbol
TxENDPKT
Rx
ENDPKT
CDFULL
CCEMPTY
DEV_STAT
EP_SLOW
EP_FAST
FRAME
Table 173. USB Device Interrupt Enable register (USBDevIntEn - address 0x5000 C204) bit description
Bit
Symbol
Value
Description
Reset value
31:0
See
USBDevIntEn
bit allocation
table above
0
No interrupt is generated.
0
1
An interrupt will be generated when the corresponding bit in the Device
Interrupt Status (USBDevIntSt) register (
) is 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.