69rlq62d-f714peg4 * Memec (Headquar
ter
s) - Unique
Tec
h,
Insight,
Impact
MAR
VELL CONFIDENTIAL,
UNDER ND
A# 12101050
69rlq62d-f714peg4 * Memec (Headquar
ter
s) - Unique
Tec
h,
Insight,
Impact
MAR
VELL CONFIDENTIAL,
UNDER ND
A# 12101050
69r
lq62d-f714peg4 * Memec (Headquar
ters) - Unique
T
ech, Insight, Impact * UNDER ND
A# 12101050
MAR
VELL CONFIDENTIAL - UNA
UTHORIZED DISTRIB
UTION OR USE STRICTL
Y PR
OHIBITED
PXA300 Processor and PXA310 Processor
Vol. I: System and Timer Configuration Developers Manual
Doc. No. MV-TBD-00 Rev. A
CONFIDENTIAL
Copyright © 12/13/06 Marvell
Page 358
Document Classification: Proprietary Information
December 13, 2006 10:46 am,
Preliminary
Not approved by Document Control. For review only.
Several units have more than one source per interrupt signal. When one of these units signals an interrupt, the
interrupt-service routine identifies the interrupt through the registers (ICPR and ICPR2) or by reading the ICHP
that contains the peripheral ID with the interrupt that has highest active, unmasked priority. The handler then
reads the interrupting unit Status register to identify which source in the unit signalled the interrupt. For all
interrupts that have only one corresponding source, the interrupt-handler routine must use only the interrupt
controller registers to identify the exact cause of the interrupt. After the interrupt from a source is served, the
corresponding bit is cleared.
12.5.2
Interrupt Controller IRQ Pending Registers (ICIP and
ICIP2)
ICIP and ICIP2 have one bit per interrupt source. A bit is set when the corresponding peripheral has a pending
unmasked IRQ interrupt that is waiting to be served. In general, software reads status registers of the controller
causing the interrupt for detailed information to determine how to service the interrupt. Interrupt bits in the ICPR
and ICPR2 are read-only and represent the logical OR of the status bits for a given interrupt in the source unit.
After an interrupt has been serviced, the handler clears the pending interrupt at the source by writing to the
required status bit. Refer to the respective peripheral chapters for details.
Clearing the interrupt-status bit at the source automatically clears the corresponding ICIP (or ICIP2) bit.
show the bit locations that correspond to the independent interrupt-pending status
flags in the ICIP and ICIP2. An interrupting source creates an IRQ if the corresponding bit in the ICLR or ICLR2
is cleared.
Table 12-5. ICIP Bit Definitions (Sheet 1 of 5)
Physical Address: 0x40D0_0000
Coprocessor Register: CP6, CR0
ICIP
Interrupt Controller
User
Settings
Bit
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
RT
C_
AL
RT
C_
HZ
OST
_
3
OST
_
2
OST
_
1
OST
_
0
DM
AC
SS
P1
MM
C 1
UART1
UART2
UART3
reserved
I2
C
LCD
SS
P2
US
IM
1
AC97
SS
P4
PM
L
US
BC
GP
IO
_
x
GP
IO
_
1
GP
IO
_
0
O
S
T
_4_1
1
PW
R
_
I2
C
reserved
KE
Y
P
AD
US
BH1
US
BH2
MS
L
1
SS
P3
Reset
0
0
0
0
0
0
0
0
0
0
0
0
?
0
0
0
0
0
0
0
0
0
0
0
0
0
?
0
0
0
0
0
Bits
Access
Name
Description
31
R
RTC_AL
Real Time Clock Alarm
0 = One of the requirements for setting the bit has not been met.
1 = RTC equals Alarm register, interrupt level<31> = 0, and either mask
bit <31> = 1 or DIM bit = 0.
30
R
RTC_HZ
One Hz Clock
0 = One of the requirements for setting the bit has not been met.
1 = One Hz clock TIC occurred, interrupt level<30> = 0, and either mask
bit<30>=1 or DIM bit = 0.
29
R
OST_3
OS Timer 3
0 = One of the requirements for setting the bit has not been met.
1 = OS timer equals match register 3, interrupt level<29> = 0, and either
mask bit<29> = 1 or DIM bit = 0.