Register Descriptions; Interrupt Priority Registers A-E (Ipra-Ipre) - Hitachi SH7032 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

5.3

Register Descriptions

5.3.1
Interrupt Priority Registers A–E (IPRA–IPRE)
The five registers IPRA–IPRE are 16-bit read/write registers that assign priority levels from 0–15
to the IRQ and on-chip supporting module interrupt sources. Interrupt request sources are mapped
onto IPRA–IPRE as shown in table 5.4.
Bit:
Bit name:
Initial value:
R/W:
Bit:
Bit name:
Initial value:
R/W:
Table 5.4
Interrupt Request Sources and IPRA-IPRE
Register
Bits 15–12
IPRA
IRQ0
IPRB
IRQ4
IPRC
DMAC0, DMAC1
IPRD
ITU2
IPRE
SCI1
Notes: *1 PRT: Parity control unit of bus state controller. See section 8, Bus State Controller
(BSC), for details.
*2 REF: DRAM refresh control unit of bus controller. See section 8, Bus State Controller
(BSC), for details.
*3 Always read as 0. Always write 0 in reserved bits.
As indicated in table 5.4, four IRQ pins or four groups of on-chip supporting modules are assigned
to each interrupt priority register. The priority levels for the four pins or groups can be set by
setting the corresponding 4-bit groups of bits 15–12, bits 11–8, bits 7–4, and bits 3–0 (of IPRA–
IPRE) with values in the range of H'0 (0000) to H'F (1111). Setting H'0 gives interrupt priority
level 0 (the lowest). Setting H'F gives level 15 (the highest). When two on-chip supporting
modules are assigned to the same bits (DMAC0 and DMAC1, or DMAC2 and DMAC3, or the
parity control unit and the A/D converter, or the watchdog timer and DRAM refresh control unit),
those two modules have the same priority. A reset initializes IPRA–IPRE to H'0000. These
registers are not initialized in standby mode.
74
15
14
13
0
0
R/W
R/W
R/W
7
6
0
0
R/W
R/W
R/W
Bits 11–8
IRQ1
IRQ5
DMAC2, DMAC3
ITU3
PRT *
12
11
0
0
0
R/W
R/W
5
4
3
0
0
0
R/W
R/W
Bits 7–4
IRQ2
IRQ6
ITU0
ITU4
1
WDT, REF *
, A/D
10
9
0
0
R/W
R/W
R/W
2
1
0
0
R/W
R/W
R/W
Bits 3–0
IRQ3
IRQ7
ITU1
SCI0
2
3
(Reserved) *
8
0
0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents