9397 750 XXXXX
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
207
Philips Semiconductors
UM10139
Volume 1
Chapter 14: USB Device Controller
2. Issues 'Select Endpoint/Interrupt Clear' command for endpoint 10.
3. Waits for command to get processed and CDFULL bit to get set.
4. Now, endpoint status (for endpoint 10) is available in Command Data register (note
that hardware does not wait for the software to finish reading endpoint status in
Command Data register for endpoint 10).
5. Clears CDFULL bit again.
6. Issues 'Select Endpoint/Interrupt Clear' command for endpoint 5.
7. Waits for command to get processed and CDFULL bit to get set.
8. Now, endpoint status (for endpoint 5) is available in Command Data register for the
software to read.
14.7.10 USB Endpoint Interrupt Set register (USBEpIntSet - 0xE009 003C)
Writing a 1 to a bit in this register sets the corresponding bit in the endpoint interrupt
status register. Writing 0 will not have any impact. Each endpoint has its own bit in this
register. The USBEpIntSet is a write only register.
14.7.11 USB Endpoint Interrupt Priority register (USBEpIntPri - 0xE009 0040)
This register determines whether the interrupt has to be routed to the fast interrupt line
(EP_FAST) or to the slow interrupt line (EP_SLOW). If set 1 the interrupt will be routed to
the fast interrupt bit of the device status register. Otherwise it will be routed to the slow
endpoint interrupt bit. Note that routing of multiple endpoints to EP_FAST or EP_SLOW is
possible. The Device Interrupt Priority register may override this register setting. Refer to
Section 14.7.6 “USB Device Interrupt Priority register (USBDevIntPri - 0xE009 002C)” on
page 203
for more details. The USBEpIntPri is a write only register.
Table 191: USB Endpoint Interrupt Set register (USBEpIntSet - address 0xE009 003C) 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 192: USB Endpoint Interrupt Set register (USBEpIntSet - address 0xE009 003C) 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 the Endpoint Interrupt Status register.
Table 193: USB Endpoint Interrupt Priority register (USBEpIntPri - address 0xE009 0040) bit allocation
Reset value: 0x0000 0000
Bit
31
30
29
28
27
26
25
24
Symbol
EP15TX
EP15RX
EP14TX
E14RX
EP13TX
EP13RX
EP12TX
EP12RX