![Intel IXP45X Скачать руководство пользователя страница 330](http://html1.mh-extra.com/html/intel/ixp45x/ixp45x_developers-manual_2073092330.webp)
Intel
®
IXP45X and Intel
®
IXP46X Product Line of Network Processors—USB 1.1 Device
Controller
Intel
®
IXP45X and Intel
®
IXP46X Product Line of Network Processors
Developer’s Manual
August 2006
330
Order Number: 306262-004US
8.5.20
UDC Status/Interrupt Register 0
(UISR0)
The UDC status/interrupt registers (USIR0 and USIR1) contain bits that are used to
generate the UDC’s interrupt request. Each bit in the UDC status/interrupt registers is
logically ORed together to produce one interrupt request.
When the ISR for the UDC is executed, it must read the UDC status/interrupt register
to determine why the interrupt occurred.
The bits in USIR0 and USIR1 are controlled by a mask bit in the UDC Interrupt Control
Register (UICR0/1). The mask bits, when set, prevent a status bit in the USIRx from
being set. If the mask bit for a particular status bit is cleared and an interruptible
condition occurs, the status bit is set.
To clear status bits, the Intel XScale processor must write a 1 to the position to be
cleared. The interrupt request for the UDC remains active as long as the value of the
USIRx is non-zero.
8.5.20.1
Endpoint 0 Interrupt Request (IR0)
The endpoint 0 interrupt request is set if the IM0 bit in the UDC control register is
cleared and, in the UDC endpoint 0 control/status register, the OUT packet ready bit is
set, the IN packet ready bit is cleared, or the sent STALL bit is set. The IR0 bit is
cleared by writing a 1 to it.
Register
UICR1
Bits
Name
Description
31:8
Reserved for future use.
7
IM15
Interrupt mask for Endpoint 15.
0 = Transmit interrupt enabled.
1= Transmit interrupt disabled.
6
IM14
Interrupt mask for Endpoint 14.
0 = Receive interrupt enabled.
1 = Receive interrupt disabled.
5
IM13
Interrupt mask for Endpoint 13.
0 = Transmit interrupt enabled.
1 = Transmit interrupt disabled.
4
IM12
Interrupt mask for Endpoint 12.
0 = Receive interrupt enabled.
1 = Receive interrupt disabled.
3
IM11
Interrupt mask for Endpoint 11.
0 = Transmit interrupt enabled.
1 = Transmit interrupt disabled.
2
IM10
Interrupt mask for Endpoint 10.
0 = Receive interrupt enabled.
1 = Receive interrupt disabled.
1
IM9
Interrupt mask for Endpoint 9.
0 = Receive interrupt enabled.
1 = Receive interrupt disabled.
0
IM8
Interrupt Mask for Endpoint 8.
0 = Transmit interrupt enabled.
1 = Transmit interrupt disabled.