
R01UH0336EJ0102 Rev.1.02
Page 166 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 4 Interrupt Functions
4.3.5
ISPC
–
In-Service Priority Clear Register
This register is for the clearing of settings for interrupt priority and for the
control of operations.
Follow the procedure below to clear ISPR.
1. Write FFFF
H
to ISPC.ISCPC[15:0] (as a 16-bit unit).
2. Write 0000
H
to ISPR.ISPR[15:0] (as a 16-bit unit).
At the same time, the bits indicating processing of an FE level NMI, FE level-
maskable interrupt (FEINT), and EI level-maskable interrupt (EIINT) are
cleared in ICSR. This clears all interrupt processing mode registers within the
interrupt controller that control the processing in progress of interrupt requests
by the CPU core. Once the bits have been cleared (to 0), their original values
are not retrievable by software.
When the ISPR is cleared by writing 0 to it, the value in the ISPC is also
automatically cleared to 0. When register ISPC is read, the value 1 is read
from all bits after 1 has been written to all bits, and the value 0 is read from all
bits after a reset or clearing of the ISPR. Writing other than writing 1 to all bits
or 0 to all bits leaves the register's value unchanged. Furthermore, although
writing 0 to all bits while all bits currently have the value 1 clears all bits of
register ISPC to 0 but leaves the value in ISPR unchanged.
Access
Readable/writable in 16-bit units only.
Address
FFFF 6450
H
Initial value
0000
H
A reset from any source will initialize the bits.
ISPC
15
14
13
12
11
10
9
8
ISPC15
ISPC14
ISPC13
ISPC12
ISPC11
ISPC10
ISPC9
ISPC8
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
7
6
5
4
3
2
1
0
ISPC7
ISPC6
ISPC5
ISPC4
ISPC3
ISPC2
ISPC1
ISPC0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit Position
Bit Name
Function
15 to 0
ISPC15 to
ISPC0
Controls clearing of bits of the in-service priory register (ISPR.ISPR[15:0]).
When the register is read, either all bits are read as 1 or all bits are read as 0.
When 1 is read from all of the bits, writing 0 to all bits of the ISPR will clear the
ISPR.
Содержание V850 Series
Страница 1556: ...V850E2 PG4 L R01UH0336EJ0102 Back Cover ...