Register Descriptions; Interrupt Priority Registers A To D (Ipra To Iprd); Assignment Of Interrupt Priority Registers - Hitachi H8/500 Series Hardware Manual

Table of Contents

Advertisement

5.3 Register Descriptions

5.3.1 Interrupt Priority Registers A to D (IPRA to IPRD)

IRQ
, IRQ
0
interrupt priority registers (IPRA to IPRD). These bits specify a priority level from 7 (high) to 0
(low) for interrupts from the corresponding source. The drawing below shows the configuration
of the interrupt priority registers. Table 5-3 lists their assignments to interrupt sources.
Bit
Initial value
Read/Write
Note: Bits 7 and 3 are reserved. They cannot be modified and are always read as "0."
Table 5-3 Assignment of Interrupt Priority Registers
Register
IPRA
IPRB
IPRC
IPRD
As table 5-3 indicates, each interrupt priority register specifies priority levels for two interrupt
sources. A user program can assign desired levels to these interrupt sources by writing "000" in
bits 6 to 4 or bits 2 to 0 to set priority level 0, for example, or "111" to set priority level 7.
A reset clears registers IPRA to IPRD to H'00, so all interrupts except NMI are initially masked.
Downloaded from
Elcodis.com
electronic components distributor
, and the on-chip supporting modules are each assigned three bits in one of the four
1
7
6
0
0
R
R/W
Interrupt Request Source
Bits 6 to 4
Bits 2 to 0
IRQ
IRQ
0
1
16-Bit FRT1
16-Bit FRT2
16-Bit FRT3
8-Bit timer
SCI
A/D converter
5
4
3
0
0
0
R/W
R/W
R
Address
H'FFF0
H'FFF1
H'FFF2
H'FFF3
103
2
1
0
0
0
0
R/W
R/W
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/532

Table of Contents