Datasheet

RL78/L12 CHAPTER 22 VOLTAGE DETECTOR
R01UH0330EJ0200 Rev.2.00 774
Dec 13, 2013
22.5 Cautions for Voltage Detector
(1) Checking reset source
When a reset occurs, check the reset source by using the following method.
Figure 22-8. Checking reset source
Yes
No
No
Check reset source
Power-on-reset/external
reset generated
Reset processing by
watchdog timer
Reset processing by
voltage detector
No
WDTRF of RESF
register = 1?
Yes
No
Reset processing by
illegal instruction execution
Note
TRAP of RESF
register = 1?
Yes
Reset processing by
RAM parity error
Yes
LVIRF of RESF
register = 1?
RPERF of RESF
register = 1?
No
Reset processing by
illegal-memory access
Yes
IAWRF of RESF
register = 1?
Note When instruction code FFH is executed.
Reset by the illegal instruction execution is not issued by emulation with the in-circuit emulator or on-chip
debug emulator.