mpc823rg Freescale Semiconductor, Inc, mpc823rg Datasheet - Page 276

no-image

mpc823rg

Manufacturer Part Number
mpc823rg
Description
Mpc823 Powerquicc Integrated Communications Processor For Portable Systems
Manufacturer
Freescale Semiconductor, Inc
Datasheet
12.3.3 Programming the Interrupt Controller
The system interface unit’s interrupt controller consists of the SIPEND, SIMASK, SIEL and
SIVEC registers.
12.3.3.1 SIU INTERRUPT PENDING REGISTER. The 32-bit SIU interrupt pending
(SIPEND) register contains bits that individually correspond to an interrupt request. If they
are set, the bits associated with internal exceptions indicate that an interrupt service is
requested, if they are not masked by the corresponding bit in the SIMASK register. These
bits reflect the status of the internal requesting device and they are cleared when the
appropriate actions are software-initiated in the device itself. The bits associated with the
IRQx pins have a different behavior depending on the sensitivity defined for them in the SIEL
register. When an IRQx signal is defined as a “level” interrupt the corresponding bit behaves
similar to the bits associated with internal interrupt sources. When an IRQx signal is defined
as an “edge” interrupt and if the corresponding bit is set, it indicates that a falling edge was
detected on the line. These bits are reset by writing a 1 to them.
IRQ—Interrupt Request 0–7
When set, this field indicates a pending external IRQx interrupt of a corresponding value.
See Figure 12-2 for more information.
LVL—Level 0–7
When set, this field indicates a pending internal level interrupt of a corresponding value. See
Figure 12-2 for more information.
SIPEND
RESET
RESET
FIELD
ADDR
FIELD
ADDR
R/W
R/W
BIT
BIT
0 = The appropriate interrupt is not pending.
1 = The appropriate interrupt is pending.
0 = The appropriate interrupt is not pending.
1 = The appropriate interrupt is pending.
IRQ0 LVL0 IRQ1 LVL1 IRQ2 LVL2 IRQ3 LVL3 IRQ4 LVL4 IRQ5 LVL5 IRQ6 LVL6 IRQ7
R/W
16
0
0
R/W
17
1
0
R/W
18
2
0
Freescale Semiconductor, Inc.
R/W
For More Information On This Product,
19
3
0
R/W
20
MPC823 REFERENCE MANUAL
4
0
Go to: www.freescale.com
R/W
21
5
0
(IMMR & 0xFFFF0000) + 0x010
(IMMR & 0xFFFF0000) + 0x012
R/W
22
6
0
RESERVED
R/W
23
7
0
R/W
0
R/W
24
8
0
R/W
25
9
0
R/W
10
26
0
R/W
11
27
0
R/W
System Interface Unit
12
28
0
R/W
13
29
0
R/W
14
30
0
R/W
LV7
12-7
15
31
0

Related parts for mpc823rg