CHAPTER 14 INTERRUPT/EXCEPTION PROCESSING FUNCTION
Preliminary User’s Manual U15905EJ1V0UD
436
14.3.5 Interrupt mask registers 0 to 2 (IMR0 to IMR2)
These registers set the interrupt mask state for the maskable interrupts. The xxMKn bit of the IMR0 to IMR2
registers is equivalent to the xxMKn bit of the xxICn register.
The IMRm register can be read or written in 16-bit units (m = 0 to 2).
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 or written in 8-bit or 1-bit units (m = 0 to 2).
Bits 15 to 6 of the IMR2 register (bits 7 to 0 of the IMR2H register and bits 7 and 6 of the IMR2L 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).
TMMK2
PMK6
IMR0
OVFMK1
PMK5
CCMK11
PMK4
CCMK10
PMK3
OVFMK0
PMK2
CCMK01
PMK1
CCMK00
PMK0
RTCMK
WDTMK
After reset:
FFFFH R/W
Address:
FFFFF100H
After reset:
FFFFH R/W
Address:
FFFFF102H
After reset:
FFFFH R/W
Address:
FFFFF104H
ADMK
SRMK0
IMR1
CSIMK4
Note
SREMK0
CSIMK3
CSIMK1
STMK1
IICMK
SRMK1
CSIMK0
SREMK1
TMMK5
CSIMK2
TMMK4
STMK0
TMMK3
1
1
xxMKn
0
1
Interrupt servicing enabled
Interrupt servicing disabled
IMR2
1
1
1
BRGMK
1
OVFMK
1
DMAMK3
1
DMAMK2
1
DMAMK1
1
DMAMK0
8
9
10
11
12
13
14
15
1
2
3
4
5
6
7
0
8
9
10
11
12
13
14
15
1
2
3
4
5
6
7
0
8
9
10
11
12
13
Interrupt mask flag setting
14
15
1
2
3
4
5
6
7
0
Note
This bit is valid only for the V850ES/SA3. In the V850EA/SA2, be sure to set this bit to 1.
Remark
xx: Identification name of each peripheral unit (AD, BRG, CC, CSI, DMA, IIC, OVF, D, ROV, RTC,
SRE, ST, TM, WDT).
n:
Peripheral unit number (None, or 0 to 3)
Содержание V850ES/SA2 UPD703201
Страница 2: ...Preliminary User s Manual U15905EJ1V0UD 2 MEMO ...
Страница 284: ... 4 6 7 6 7 8 9 9 6 Note 1 Note 2 0 0 9 9 6 1 1 0 1 9 0 0 0 6 7 0 0 0 0 0 0 0 1 1 1 0 0 0 0 3 1 6 7 6 7 ...
Страница 285: ... 6 7 ...
Страница 516: ...Preliminary User s Manual U15905EJ1V0UD 516 MEMO ...