SM39R08A5
8-Bit Micro-controller
with 8KB Flash
& 256B RAM embedded
13. LVI – Low Voltage Interrupt
The interrupt vector 63h.
Mnemonic
RSTS
LVC
Description
Reset status
register
Low voltage
control register
Direct
A1h
E6h
Bit 7
-
LVI_EN
Bit 6
Bit 5
Bit 4
Watchdog Timer
-
-
-
LVRE
PDRF
LVIF
Bit 3
WDTF
-
Bit 2
SWRF
-
Bit 1
LVRF
Bit 0
PORF
RESET
00H
20H
LVIS
Mnemonic: RSTS
7
6
-
-
5
-
4
PDRF
3
WDTF
2
SWRF
1
LVRF
Address: A1h
0
Reset
PORF
00H
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.
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.
Mnemonic: LVC
7
6
5
LVI_EN
-
LVRE
Address: E6h
1
0
Reset
LVIS[1:0]
20H
4
LVIF
3
-
2
-
LVI_EN: Low voltage interrupt function enable bit.
LVI_EN = 0 - disable low voltage detect function.
LVI_EN = 1 - enable low voltage detect function.
LVRE: External low voltage reset function enable bit.
LVRE = 0 - disable external low voltage reset function.
LVRE = 1 - enable external low voltage reset function.
LVIF: Low Voltage interrupt Flag (Read only)
LVIS LVI level select:
00: 1.7V
01: 2.60V
10: 3.2V
11: 4.0V
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M067
Ver B SM39R08A5 04/22/2013
- 46 -