
R01UH0336EJ0102 Rev.1.02
Page 149 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 4 Interrupt Functions
4.3 Interrupt Controller Control Registers
Meaning of xx
xx denotes the identifying names of the individual peripheral units.
4.3.1
ICxx: EI Level Interrupt Control Register
An ICxx register is provided for every EI level-maskable interrupt (EIINT)
channel, and is used to configure control conditions.
Access
Readable/writable in 1-, 8-, or 16-bit units.
However, bit-wise access through SET1, CLR1, NOT1 instructions to bits 15 to
13, bits 11 to 8 and bits 6 to 4 is prohibited.
Address
FFFF 6000
H
to FFFF 61B9
H
Initial value
008F
H
A reset from any source will initialize the bits.
Caution
Do not access ICxx registers that are not listed in Table 4-2.
ICxx
15(7)
14(6)
13(5)
12(4)
11(3)
10(2)
9(1)
8(0)
(ICxxH)
0
0
0
RFxx
0
0
0
0
R
R
R
R/W
R
R
R
R
7(7)
6(6)
5(5)
4(4)
3(3)
2(2)
1(1)
0(0)
(ICxxL)
MKxx
0
0
0
P3xx
P2xx
P1xx
P0xx
R/W
R
R
R
R/W
R/W
R/W
R/W
Bit Position
Bit Name
Function
12
RFxx
This is an interrupt request flag.
The RFxx bit is writable from a program. If the RFxx bit is set (to 1), an EI level
maskable interrupt n (EINTn) will be generated in the same way as when an
interrupt request is received.
0: No interrupt request is made (initial value).
1: Interrupt request is made.
7
MKxx
This is an interrupt mask bit. Setting the MKxx bit masks interrupt requests set in
the interrupt request flag (RFxx), i.e. it may be used to obstruct interrupt requests
from the given channel to the CPU core. If the MKxx bit is set for a channel, the
ICSR.PMF bit will not hold indications of interrupts for that channel. The MKxx bit
does not mask input from an interrupt input pin, so the interrupt request flag still
gets set even if the MKxx bit is set. The setting of this bit also reflects the setting
in the interrupt mask register (IMR).
0: Enables interrupt handling.
1: Prohibits interrupt handling (initial value).
3 to 0
P3xx to P0xx
These bits specify the interrupt priority as one of 16 levels, with 0 as the highest
and 15 as the lowest.
When multiple EI level-interrupt requests are made simultaneously, the interrupt
from the source with the highest priority setting in these bits is selected and
conveyed to the CPU core. When P3xx to P0xx bits for different sources specify
the same priority level, the source with the lower channel number takes priority.
This order is fixed.
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...