RL78/G1A CHAPTER 19 RESET FUNCTION
Figure 19-5. Procedure for Checking Reset Source <R>
Yes
No
No
After reset acceptance
Power-on-reset/external
reset generated
Internal reset request by the
watchdog timer generated
Internal reset request
by the voltage detector generated
No
WDTRF of RESF
register = 1?
Yes
No
Internal reset request by the
execution of the illegal instruction
generated
Read the RESF register (clear the RESF register) and store
the value of the RESF register in any RAM.
TRAP of RESF
register = 1?
Yes
Internal reset request by the
RAM parity error generated
Yes
LVIRF of RESF
register = 1?
RPERF of RESF
register = 1?
No
Internal reset request by the
illegal memory access generated
Yes
IAWRF of RESF
register = 1?
Read RESF register
R01UH0305EJ0200 Rev.2.00 748
Jul 04, 2013