ML51/ML54/ML56
Sep. 01, 2020
Page
339
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
AUXR0
– Auxiliary Register 0
Register
SFR Address
Reset Value
AUXR0
A2H, Page 0
POR: 0000 0000b,
Software reset: 1U00 0000b,
nRESET pin: U100 0000b,
Hard fault: UU10 0000b
Others: UUU0 0000b
7
6
5
4
3
2
1
0
SWRF
RSTPINF
HFRF
HFIF
GF2
-
0
DPS
R/W
R/W
R/W
R/W
R/W
-
R
R/W
Bit
Name
Description
[7]
SWRF
Software Reset Flag
When the MCU is reset via software reset, this bit will be set via hardware. It is
recommended that the flag be cleared via software.
[6]
RSTPINF
External Reset Flag
When the MCU is reset by the external reset, this bit will be set via hardware. It is
recommended that the flag be cleared via software.
[5]
HFRF
Hard Fault Reset Flag
Once CPU fetches instruction address over Flash size while EHFI (EIE1.4)=0, MCU will reset
and this bit will be set via hardware. It is recommended that the flag be cleared via software.
Note:
If MCU run in OCD debug mode and OCDEN = 0, Hard fault reset will disable. Only
HFRF flag be asserted.
[4]
HFIF
Hard Fault Interrupt Flag
Once CPU fetches instruction address over Flash size while EHFI (EIE1.4)=1. MCU will be
interrupt and this bit will be set via hardware. It is recommended that the flag be cleared via
software.