Datasheet
V850ES/JG3 CHAPTER 19 INTERRUPT/EXCEPTION PROCESSING FUNCTION
R01UH0015EJ0300 Rev.3.00 Page 643 of 870
Sep 30, 2010
(2) From INTWDT2 signal
Restoring from non-maskable interrupt servicing executed by the non-maskable interrupt request (INTWDT2) by
using the RETI instruction is disabled. Execute the following software reset processing.
Figure 19-4. Software Reset Processing
INTWDT2 occurs.
FEPC ← Software reset processing address
FEPSW ← Value that sets NP bit = 1, EP bit = 0
↓
RETI
RETI 10 times (FEPC and FEPSW
Note
must be set.)
↓
PSW ← PSW default value setting
↓
Initialization processing
INTWDT2 servicing routine
Software reset processing routine
Note FEPSW ← Value that sets NP bit = 1, EP bit = 0
19.2.3 NP flag
The NP flag is a status flag that indicates that non-maskable interrupt servicing is under execution.
This flag is set when a non-maskable interrupt request signal has been acknowledged, and masks non-maskable
interrupt requests to prohibit multiple interrupts from being acknowledged.
0
NP EP ID SAT CY OV S Z
PSW
No NMI interrupt servicing
NMI interrupt currently being serviced
NP
0
1
NMI interrupt servicing status
After reset: 00000020H