![NXP Semiconductors LPC29 Series Скачать руководство пользователя страница 168](http://html1.mh-extra.com/html/nxp-semiconductors/lpc29-series/lpc29-series_user-manual_1721826168.webp)
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
168 of 571
NXP Semiconductors
UM10316
Chapter 13: LPC29xx USB device
9.3.5 USB Endpoint Interrupt Priority register (USBEpIntPri - 0xE010 C240)
This register determines whether an endpoint interrupt is routed to the EP_FAST or
EP_SLOW bits of USBDevIntSt. If a bit in this register is set to one, the interrupt is routed
to EP_FAST, if zero it is routed to EP_SLOW. Routing of multiple endpoints to EP_FAST
or EP_SLOW is possible.
Note that the USBDevIntPri register determines whether the EP_FAST interrupt is routed
to the USB_INT_REQ_HP or USB_INT_REQ_LP interrupt line.
USBEpIntPri is a write only register.
9.4 Endpoint realization registers
The registers in this group allow realization and configuration of endpoints at run time.
9.4.1 EP RAM requirements
The USB device controller uses a RAM based FIFO for each endpoint buffer. The RAM
dedicated for this purpose is called the Endpoint RAM (EP_RAM). Each endpoint has
space reserved in the EP_RAM. The EP_RAM space required for an endpoint depends
on its MaxPacketSize and whether it is double buffered. 32 words of EP_RAM are used by
the device for storing the endpoint buffer pointers. The EP_RAM is word aligned but the
MaxPacketSize is defined in bytes hence the RAM depth has to be adjusted to the next
word boundary. Also, each buffer has one word header showing the size of the packet
length received.
Table 137. USB Endpoint Interrupt Set register (USBEpIntSet - address 0xE010 C23C) bit description
Bit
Symbol
Value
Description
Reset value
31:0
See
USBEpIntSet
bit allocation
table above
0
No effect.
0
1
Sets the corresponding bit in USBEpIntSt.
Table 138. USB Endpoint Interrupt Priority register (USBEpIntPri - address 0xE010 C240) bit allocation
Reset value: 0x0000 0000
Bit
31
30
29
28
27
26
25
24
Symbol
EP15TX
EP15RX
EP14TX
E14RX
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 139. USB Endpoint Interrupt Priority register (USBEpIntPri - address 0xE010 C240) bit description
Bit
Symbol
Value
Description
Reset value
31:0
See
USBEpIntPri
bit allocation
table above
0
The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt
0
1
The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt