CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
182
User’s Manual U14492EJ3V0UD
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>
CM10MK0
<7>
DETMK0
IMR0
<14>
CC10MK1
<6>
P0MK6
<13>
CC10MK0
<5>
P0MK5
<12>
CM03MK1
<4>
P0MK4
<11>
TM0MK1
<3>
P0MK3
<10>
CM03MK0
<2>
P0MK2
<9>
TM0MK0
<1>
P0MK1
<8>
DETMK1
<0>
P0MK0
Address
FFFFF100H
Initial value
FFFFH
<15>
CC3MK1
<7>
CC2MK0
IMR1
<14>
CC3MK0
<6>
TM2MK1
<13>
TM3MK0
<5>
TM2MK0
<12>
CC2MK5
<4>
CM11MK1
<11>
CC2MK4
<3>
CM11MK0
<10>
CC2MK3
<2>
CC11MK1
<9>
CC2MK2
<1>
CC11MK0
<8>
CC2MK1
<0>
CM10MK1
Address
FFFFF102H
Initial value
FFFFH
<15>
STMK1
<7>
CANMK2
IMR2
<14>
SRMK1
<6>
CANMK1
<13>
SEMK0
<5>
CANMK0
<12>
STMK0
<4>
DMAMK3
<11>
SRMK0
<3>
DMAMK2
<10>
CSIMK1
<2>
DMAMK1
<9>
CSIMK0
<1>
DMAMK0
<8>
CANMK3
<0>
CM4MK0
Address
FFFFF104H
Initial value
FFFFH
15
1
7
1
IMR3
14
1
6
1
13
1
5
1
12
1
4
1
11
1
<3>
ADMK1
10
1
<2>
ADMK0
9
1
<1>
STMK2
8
1
<0>
SRMK2
Address
FFFFF106H
Initial value
FFFFH
Bit Position
Bit Name
Function
15 to 0
(IMR0 to 2),
0 to 3 (IMR3)
xxMKn
Interrupt mask flag
0: Interrupt servicing enabled
1: Interrupt servicing disabled (pending)
Remark
xx: Identification name of each peripheral unit (refer to
Table 7-2
)
n: Peripheral unit number (refer to
Table 7-2
)
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...