RL78/G1P
CHAPTER 17 RESET FUNCTION
R01UH0895EJ0100 Rev.1.00
617
Nov 29, 2019
The status of the RESF register when a reset request is generated is shown in Table 17-3.
Table 17-3. RESF Register Status When Reset Request Is Generated
Reset Source
Flag
RESET Input
Reset by
POR
Reset by
Execution of
Illegal
Instruction
Reset by
WDT
Reset by
RAM Parity
Error
Reset by
Illegal-
memory
Access
Reset by
LVD
TRAP bit
Cleared (0)
Cleared (0)
Set (1)
Held
Held
Held
Held
WDTRF bit
Held
Set (1)
RPERF bit
Held
Set (1)
IAWRF bit
Held Set
(1)
LVIRF bit
Held Set
(1)
Figure 17-5 shows the procedure for checking reset source.