Renesas M32R/ECU Series User Manual page 120

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

5
b0
1
2
(b8
9
10
0
0
0
b
Bit Name
0–2
No function assigned. Fix to "0"
(8–10)
3
IREQ
(11)
Interrupt request bit
4
No function assigned. Fix to "0"
(12)
5–7
ILEVEL
(13–15)
Interrupt priority level bits
(1) IREQ (Interrupt Request) bit (Bit 3 or 11)
When an interrupt request from some internal peripheral I/O occurs, the corresponding IREQ (Interrupt Re-
quest) bit is set to "1".
This bit can be set and cleared in software for only edge-recognized interrupt request sources (and not for
level-recognized interrupt request sources). Also, when this bit is set by an edge-recognized interrupt re-
quest generated, it is automatically cleared to "0" by reading the Interrupt Vector Register (IVECT) (not
cleared in the case of level-recognized interrupt request).
If the IREQ bit is cleared in software at the same time it is set by an interrupt request generated, clearing in
software has priority. Also, if the IREQ bit is cleared by reading the Interrupt Vector Register (IVECT) at the
same time it is set by an interrupt request generated, clearing by a read of the IVECT register has priority.
Note: • External Interrupt (EI) to the CPU core is not deasserted by clearing the IREQ bit. External
Interrupt (EI) to the CPU core can only be deasserted by the following operation:
(1) Reset
(2) IVECT register read
(3) Write to the IMASK register
3
4
5
6
11
12
13
14
IREQ
ILEVEL
0
0
1
1
INTERRUPT CONTROLLER (ICU)
b7
b15)
1
Function
<When edge recognized>
At read
0: Interrupt not requested
1: Interrupt requested
At write
0: Clear interrupt request
1: Generate interrupt request
<When level-recognized>
At read
0: Interrupt not requested
1: Interrupt requested
000: Interrupt priority level 0
001: Interrupt priority level 1
010: Interrupt priority level 2
011: Interrupt priority level 3
100: Interrupt priority level 4
101: Interrupt priority level 5
110: Interrupt priority level 6
111: Interrupt priority level 7 (interrupt disabled)
5-9
5.2 ICU Related Registers
<After reset: H'07>
R
0
R
R
0
R
32180 Group User's Manual (Rev.1.0)
W
0
W
0
0
W

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents