NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
38
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
System Reset Source Register (RSTSRC)
This register provides specific
information for software to identify this chip’s reset source from last
operation.
Register
Offset
R/W
Description
Reset Value
RSTSRC
0x04
R/W
System Reset Source Register
0x0000_00XX
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
7
6
5
4
3
2
1
0
RSTS_CPU
Reserved
RSTS_SYS
RSTS_BOD
RSTS_LVR
RSTS_WDT
RSTS_RESET RSTS_POR
Bits
Description
[31:8]
Reserved
Reserved.
[7]
RSTS_CPU
CPU Reset Flag
The RSTS_CPU flag Is set by hardware if software writes CPU_RST (IPRSTC1[1]) 1 To
reset Cortex
®
-M0 kernel and flash memory controller (FMC).
0 = No reset from CPU.
1 = Cortex
®
-M0 CPU kernel and FMC are reset by software setting
CPU_RST(IPRSTC1[1]) to 1.
Note:
Write 1 to clear this bit to 0.
[6]
Reserved
Reserved.
[5]
RSTS_SYS
SYS Reset Flag
The RSTS_SYS flag Is set by t
he “Reset Signal” from the Cortex
®
-M0 kernel to indicate
the previous reset source.
0 = No reset from Cortex
®
-M0.
1 = The Cortex
®
-M0 had issued the reset signal to reset the system by writing 1 to bit
SYSRESETREQ (AIRCR[2], Application Interrupt and Reset Control Register, address =
0xE000ED0C) in system control registers of Cortex
®
-M0 kernel.
Note:
Write 1 to clear this bit to 0.
[4]
RSTS_BOD
Brown-Out Detector Reset Flag
The RSTS_BOD flag is set by the
“Reset Signal” from the Brown-Out Detector to indicate
the previous reset source.
0 = No reset from BOD.
1 = The BOD had issued the reset signal to reset the system.
Note:
Write 1 to clear this bit to 0.
[3]
RSTS_LVR
Low Voltage Reset Flag
The RSTS_LVR flag is set by t
he “Reset Signal” from the Low-Voltage-Reset controller to