R01UH0823EJ0100 Rev.1.00
Page 140 of 1823
Jul 31, 2019
RX23W Group
6. Resets
6.2.3
Reset Status Register 2 (RSTSR2)
Note 1. The value after reset depends on the reset source.
Note 2. Only 0 can be written to clear the flag.
IWDTRF Flag (Independent Watchdog Timer Reset Detect Flag)
The IWDTRF flag indicates that an independent watchdog timer reset has occurred.
[Setting condition]
When an independent watchdog timer reset occurs.
[Clearing conditions]
When a reset listed in
When IWDTRF is read as 1 and then 0 is written to IWDTRF.
WDTRF Flag (Watchdog Timer Reset Detect Flag)
The WDTRF flag indicates that a watchdog timer reset has occurred.
[Setting condition]
When a watchdog timer reset occurs.
[Clearing conditions]
When a reset listed in
When WDTRF is read as 1 and then 0 is written to WDTRF.
SWRF Flag (Software Reset Detect Flag)
The SWRF flag indicates that a software reset has occurred.
[Setting condition]
When a software reset occurs.
[Clearing conditions]
When a reset listed in
When SWRF is read as 1 and then 0 is written to SWRF.
Address(es): 0008 00C0h
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
SWRF WDTR
F
IWDTR
F
Value after reset:
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
Independent Watchdog Timer Reset Detect
Flag
0: Independent watchdog timer reset not detected.
1: Independent watchdog timer reset detected.
R(/W)
b1
Watchdog Timer Reset Detect Flag
0: Watchdog timer reset not detected.
1: Watchdog timer reset detected.
R(/W)
b2
Software Reset Detect Flag
0: Software reset not detected.
1: Software reset detected.
R(/W)
b7 to b3
—
Reserved
These bits are read as 0. The write value should be 0. R/W