240
Chapter 7
Interrupt/Exception Processing Function
User’s Manual U16580EE3V1UD00
7.3.5 Interrupt mask registers 0 to 6 (IMR0 to IMR6)
The IMR0 to IMR6 registers set the interrupt mask state for the maskable interrupts. The IMK0 to
IMK104 bits are equivalent to the MKn bit in the corresponding PICn register.
The IMRm register (m = 0 to 6) can be read or written in 16-bit units.
If the higher 8 bits of the IMRm register are used as the IMRmH register and the lower 8 bits as the
IMRmL register, these registers can be read or written in 8-bit or 1-bit units.
Reset input sets these registers to FFFFH.
Bits 15 to 9 of the IMR6 register (bits 7 to 1 of the IMR6H register) are fixed to 1. If these bits are not 1,
the operation cannot be guaranteed.
Caution:
The device file defines the MKn bit as a reserved word. If a bit is manipulated using
the name of MKn, the contents of the PICn register, instead of the IMRm register, are
rewritten (as a result, the contents of the IMRm register are also rewritten).
Figure 7-11:
Interrupt Mask Registers 0 to 2 (IMR0 to IMR2)
Remark:
n = 0 to 105 (see
Table 7-1
)
After reset:
FFFFH
R/W
Address:
IMR0 FFFFF100H
IMR0L FFFFF100H, IMR0H FFFFF101H
15
14
13
12
11
10
9
8
IMR0
MK15
MK14
MK13
MK12
MK11
MK10
MK9
MK8
7
6
5
4
3
2
1
0
MK7
MK6
MK5
MK4
MK3
MK2
MK1
MK0
After reset:
FFFFH
R/W
Address:
IMR1 FFFFF102H
IMR1L FFFFF102H, IMR1H FFFFF103H
15
14
13
12
11
10
9
8
IMR1
MK31
MK30
MK29
MK28
MK27
MK26
MK25
MK24
7
6
5
4
3
2
1
0
MK23
MK22
MK21
MK20
MK19
MK18
MK17
MK16
After reset:
FFFFH
R/W
Address:
IMR2 FFFFF104H
IMR2L FFFFF104H, IMR2H FFFFF105H
15
14
13
12
11
10
9
8
IMR2
MK47
MK46
MK45
MK44
MK43
MK42
MK41
MK40
7
6
5
4
3
2
1
0
MK39
MK38
MK37
MK36
MK35
MK34
MK33
MK32
IMKn
Interrupt Mask Flag
0
Enable interrupt servicing
1
Disable interrupt servicing (pending)
Summary of Contents for MuPD70F3187
Page 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Page 16: ...16 User s Manual U16580EE3V1UD00 ...
Page 28: ...28 User s Manual U16580EE3V1UD00 ...
Page 32: ...32 User s Manual U16580EE3V1UD00 ...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Page 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Page 1053: ......