Interrupt Mask Registers 0 To 3 (Imr0 To Imr3) - NEC PD703114 User Manual

V850e/ia2 32-bit single-chip microcontrollers
Table of Contents

Advertisement

7.3.5 Interrupt mask registers 0 to 3 (IMR0 to IMR3)

These registers set the interrupt mask state for the maskable interrupts.
The xxMKn bit of the IMR0 to IMR3 registers is equivalent to the xxMKn bit of the xxICn register.
IMRm can be read/written in 16-bit units (m = 0 to 3).
When the IMRm register is divided into two registers: higher 8 bits (IMRmH register) and lower 8 bits (IMRmL
register), these registers can be read/written in 8-bit or 1-bit units.
Caution The device file defines the xxMKn bit of the xxICn register as a reserved word. If a bit is
manipulated with the name xxMKn, therefore, the xxICn register, rather than the IMRm register, is
rewritten (as a result, the IMRm register is also rewritten).
<15>
<14>
IMR0
CM10MK0
CC10MK1
<7>
6
DETMK0
1
<15>
<14>
IMR1
CC3MK1
CC3MK0
<7>
<6>
CC2MK0
TM2MK1
<15>
<14>
IMR2
STMK1
SRMK1
7
6
1
1
15
14
IMR3
1
1
<7>
6
CM00MK1
1
Bit position
15 to 7, 4 to 0 (IMR0)
xxMKn
15 to 5, 0 (IMR1)
15 to 9, 4 to 0 (IMR2)
13 to 7, 3, 2 (IMR3)
Remark xx: Identification name of each peripheral unit (refer to Table 7-2).
n: Peripheral unit number (refer Table 7-2)
CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
<13>
<12>
<11>
CC10MK0
CM03MK1
TM0MK1
5
<4>
<3>
1
P0MK4
P0MK3
<13>
<12>
<11>
TM3MK0
CC2MK5
CC2MK4
<5>
4
3
TM2MK0
1
1
<13>
<12>
<11>
SEMK0
STMK0
SRMK0
5
<4>
<3>
1
DMAMK3
DMAMK2
<13>
<12>
<11>
CM05MK0
CM04MK0
CM05MK1
5
4
<3>
1
1
ADMK1
Bit name
Interrupt mask flag
0: Interrupt servicing enabled
1: Interrupt servicing disabled (pending)
User's Manual U15195EJ5V0UD
<10>
<9>
<8>
CM03MK0
TM0MK0
DETMK1
<2>
<1>
<0>
P0MK2
P0MK1
P0MK0
<10>
<9>
<8>
CC2MK3
CC2MK2
CC2MK1
2
1
<0>
1
1
CM10MK1
<10>
<9>
8
CSIMK1
CSIMK0
1
<2>
<1>
<0>
DMAMK1
DMAMK0
CM4MK0
<10>
<9>
<8>
CM04MK1
CM02MK1
CM01MK1
<2>
1
0
ADMK0
1
1
Function
Address
After reset
FFFFF100H
FFFFH
Address
After reset
FFFFF102H
FFFFH
Address
After reset
FFFFF104H
FFFFH
Address
After reset
FFFFF106H
FFFFH
153

Advertisement

Table of Contents
loading

Table of Contents