MS51
Dec. 17, 2019
Page
68
of 316
Rev 1.01
M
S51
SE
RIES
TE
CHNICA
L REF
ERE
N
CE MA
NU
A
L
RSR
– Reset Flag Register
Regiser
Address
Reset Value
RSR
9DH, all pages
POR, 0001_0000b
BOD, 000U_0100
Software, 000U_0U01
nReset pin, 0U0U_
Others 000U_0U0U
7
6
5
4
3
2
1
0
-
-
HardF
(mirrored from
AUXR1.5)
POF
(mirrored from
PCON.4)
RSTPINF
(mirrored from
AUXR1.6)
BORF
(mirrored from
BODCON0.1)
WDTRF
(mirrored from
WDCON.3)
SWRF
(mirrored from
AUXR1.7)
-
-
R/W
R/W
R/W
R/W
R/W
R/W
Bit
Name
Description
7:6
-
Reserved
5
HardF
mirrored from AUXR0.5
Clear this bit by write AUXR0.5=0 or RSR.5=0
4
POF
mirrored from PCON.4
Clear this bit by write PCON.4=0 or RSR.4=0
3
RSTPINF
mirrored from AUXR0.6
Clear this bit by write AUXR0.6=0 or RSR.3=0
2
BORF
mirrored from BODCON0.1
Clear this bit by write BODCON0.1=0 or RSR.2=0
1
WDTRF
mirrored from WDCON.3
Clear this bit by write WDCON.3=0 or RSR.1=0
0
SWRF
mirrored from AUXR0.7
Clear this bit by write AUXR0.7=0 or RSR.0=0