Interrupt Mask Registers 0 To 3 (Imr0 To Imr3) - NEC V850E/MA1 User Manual

32-bit single-chip microcontroller
Hide thumbs Also See for V850E/MA1:
Table of Contents

Advertisement

CHAPTER 7 INTERRUPTION/EXCEPTION PROCESSING FUNCTION

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.
The IMRm register (m = 0 to 3) can be read/written in 16-bit units.
If the higher 8 bits of the IMRm register are used as an IMRmH register and the lower 8 bits as an IMRmL register,
these registers can be read/written in 8-bit or 1-bit units.
Bits 15 to 1 of the IMR3 register (bits 7 to 0 of the IMR3H register and bits 7 to 1 of the IMR3L register) are fixed to
1. If these bits are not 1, the operation cannot be guaranteed.
Caution The device file defines the xxMKn bit of the xxICn register as a reserved word. If a bit is
manipulated using the name of xxMKn, the contents of the xxICn register, instead of the IMRm
register, are rewritten (as a result, the contents of the IMRm register are also rewritten).
15
14
IMR0
P10MK3
P10MK2
7
6
P01MK1
P01MK0
15
14
IMR1
CMMK3
CMMK2
7
6
P12MK3
P12MK2
15
14
IMR2
STMK2
SRMK2
7
6
STMK0
SRMK0
15
14
IMR3
1
1
7
6
1
1
Bit position
15 to 0
xxMKn
(IMR0 to 2),
0 (IMR3)
Remark xx: Identification name of each peripheral unit (OV, P00 to P03, P10 to P13, CM, DMA, CSI, SE, SR,
ST, and AD).
n: Peripheral unit number (None, or 0 to 3)
282
13
12
11
P10MK1
P10MK0
P03MK1
5
4
P00MK1
P00MK0
OVMK3
13
12
11
CMMK1
CMMK0
P13MK3
5
4
P12MK1
P12MK0
P11MK3
13
12
11
SEMK2
CSIMK2
STMK1
5
4
SEMK0
CSIMK0
DMAMK3
13
12
11
1
1
5
4
1
1
Bit name
Mask Flag
Interrupt mask flag
0: Interrupt servicing enabled
1: Interrupt servicing disabled (pending)
User's Manual U14359EJ4V0UM
10
9
P03MK0
P02MK1
P02MK0
3
2
1
OVMK2
OVMK1
OVMK0
10
9
P13MK2
P13MK1
P13MK0
3
2
1
P11MK2
P11MK1
P11MK0
10
9
SRMK1
SEMK1
CSIMK1
3
2
1
DMAMK2
DMAMK1
DMAMK0
10
9
1
1
1
3
2
1
1
1
1
ADMK
Function
8
Address
After reset
FFFFF100H
FFFFH
0
8
Address
After reset
FFFFF102H
FFFFH
0
8
Address
After reset
FFFFF104H
FFFFH
0
8
Address
After reset
1
FFFFF106H
FFFFH
0

Advertisement

Table of Contents
loading

Table of Contents