R01UH0822EJ0100 Rev.1.00
Page 105 of 1041
Jul 31, 2019
RX13T Group
6. Resets
6.3.7
Determination of Reset Generation Source
Reading RSTSR0 and RSTSR2 determines which reset was used to execute the reset exception handling.
shows an example of the flow to identify a reset generation source.
Figure 6.4
Example of Reset Generation Source Determination Flow
Software
reset
RES# pin
reset
Reset exception
handling
Voltage
monitoring 0
reset
Power-on
reset
Voltage
monitoring 1
reset
Voltage
monitoring 2
reset
Independent
watchdog
timer reset
RSTSR2.
IWDTRF=1
No
Yes
Yes
No
RSTSR2.
SWRF = 1
RSTSR0.
LVD0RF=1
Yes
No
RSTSR0.
LVD2RF = 1
Yes
No
RSTSR0.
LVD1RF = 1
Yes
No
RSTSR0.
PORF=1
Yes
No