SM39A16M1
8-Bit Micro-controller
16KB with ISP Flash
& 1K+256B RAM embedded
1.5.3 Reset status
Mnemonic: RSTS
Address: A1h
7
-
6
5
4
3
2
1
0
Reset
00H
LVRLP INTF
LVRLPF
PDRF WDTF SWRF
LVRF
PORF
LVRLPINTF “Internal” Low voltage reset flag.
When MCU is reset by LVR_LP_INT, LVRLPINTF flag will be set to one by hardware. This flag
clear by software.
LVRLPF Low voltage reset(Low Power) flag.
When MCU is reset by LVR(Low Power), LVRLPF flag will be set to one by hardware. This flag
clear by software.
PDRF: Pad reset flag.
When MCU is reset by reset pad, PDRF flag will be set to one by hardware. This flag clear by
software.
WDTF: Watchdog timer reset flag.
When MCU is reset by watchdog, WDTF flag will be set to one by hardware. This flag clear by
software.
SWRF: Software reset flag.
When MCU is reset by software, SWRF flag will be set to one by hardware. This flag clear by
software.
LVRF: Low voltage reset flag.
When MCU is reset by LVR, LVRF flag will be set to one by hardware. This flag clear by
software.
PORF: Power on reset flag.
When MCU is reset by POR, PORF flag will be set to one by hardware. This flag clear by
software.
1.5.4 Time Access Key register (TAKEY)
Mnemonic: TAKEY
Address:F7H
7
6
5
4
3
2
1
0
Reset
00H
TAKEY [7:0]
Software reset register (SWRES) is read-only by default, software must write three specific values 55h, AAh and
5Ah sequentially to the TAKEY register to enable the SWRES register write attribute.
That is:
MOV TAKEY, #55h
MOV TAKEY, #0AAh
MOV TAKEY, #5Ah
FOSVOS TEL: 021-58998693
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M069
Ver C SM39A16M1 7/31/2013
- 17 -