CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
179
User’s Manual U14492EJ3V0UD
7.3.4 Interrupt control register (xxICn)
An interrupt control register is assigned to each interrupt request (maskable interrupt) and sets the control
conditions for each maskable interrupt request.
This register can be read/written in 8-bit or 1-bit units.
Caution
Read the xxIFn bit of the xxICn register in the interrupt disabled (DI) state. Otherwise if the
timing of interrupt acknowledgement and bit reading conflict, normal values may not be read.
Address
FFFFF110H to
FFFFF176H
<7>
xxIFn
xxICn
<6>
xxMKn
5
0
4
0
3
0
<2>
xxPRn2
<1>
xxPRn1
<0>
xxPRn0
Initial value
47H
Bit Position
Bit Name
Function
7
xxIFn
This is an interrupt request flag.
0: Interrupt request not issued
1: Interrupt request issued
The flag xxlFn is reset automatically by the hardware if an interrupt request is
acknowledged.
6
xxMKn
This is an interrupt mask flag.
0: Enables interrupt servicing
1: Disables interrupt servicing (pending)
8 levels of priority order are specified for each interrupt.
xxPRn2
xxPRn1
xxPRn0
Interrupt Priority Specification Bit
0
0
0
Specifies level 0 (highest).
0
0
1
Specifies level 1.
0
1
0
Specifies level 2.
0
1
1
Specifies level 3.
1
0
0
Specifies level 4.
1
0
1
Specifies level 5.
1
1
0
Specifies level 6.
1
1
1
Specifies level 7 (lowest).
2 to 0
xxPRn2 to
xxPRn0
Remark
xx: Identification name of each peripheral unit (refer to
Table 7-2
)
n:
Peripheral unit number (refer to
Table 7-2
)
The address and bit of each interrupt control register are as follows.
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...