SN32F280 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 63
Version 1.1
Write
Clear this bit
1: LVD reset occurred.
1
WDTRSTF
WDT reset flag
Set by HW when a WDT reset occurs.
0: Read
No watchdog reset occurred
Write
Clear this bit
1: Watchdog reset occurred.
R/W
0
0
SWRSTF
Software reset flag
Set by HW when a software reset occurs.
0: Read
No software reset occurred
Write
Clear this bit
1: Software reset occurred.
R/W
1
3.3.7 LVD Control register (SYS0_LVDCTRL)
Address Offset: 0x18
The LVD control register selects four separate threshold values for generating a LVD interrupt to the NVIC or LVD reset.
Bit
Name
Description
Attribute
Reset
31:16
Reserved
R
0
15
LVDEN
LVD enable
0: Disable
1: Enable
R/W
0
14
LVDRSTEN
LVD Reset enable
0: Disable
1: Enable
R/W
0
13:7
Reserved
R
0
6:4
LVDINTLVL[2:0]
LVD interrupt level
011: 2.70V
100: 3.00V
101: 3.60V
Other: Reserved
R/W
011b
3
Reserved
R
0
2:0
LVDRSTLVL[2:0]
LVD reset level
011: 2.70V
100: 3.00V
101: 3.60V
Other: Reserved
R/W
011b
3.3.8 External RESET Pin Control register (SYS0_EXRSTCTRL)
Address Offset: 0x1C
Note: FW can NOT change SYS0_EXRSTCTRL register if EXTRSTHWDIS bit in code option is 0.
Bit
Name
Description
Attribute
Reset
31:1
Reserved
R
0
0
RESETDIS
External RESET pin disable bit.
0: Enable external RESET pin. (P3.7 acts as RESET pin)
1: Disable (P3.7 acts as GPIO pin)
R/W
By EXTRSTHWDIS bit
in code option