![](http://datasheet.mmic.net.cn/170000/UPD78F1186AGJ-A--GAE-AX_datasheet_10141117/UPD78F1186AGJ-A--GAE-AX_15.png)
User’s Manual U18417EJ3V0UD
15
18.2 Configuration of Key Interrupt.......................................................................................................... 665
18.3 Register Controlling Key Interrupt................................................................................................... 666
CHAPTER 19 STANDBY FUNCTION .................................................................................................. 667
19.1 Standby Function and Configuration .............................................................................................. 667
19.1.1 Standby function ...........................................................................................................................667
19.1.2 Registers controlling standby function ..........................................................................................667
19.2 Standby Function Operation............................................................................................................. 670
19.2.1 HALT mode...................................................................................................................................670
19.2.2 STOP mode ..................................................................................................................................675
CHAPTER 20 RESET FUNCTION ....................................................................................................... 682
20.1 Register for Confirming Reset Source ............................................................................................ 690
CHAPTER 21 POWER-ON-CLEAR CIRCUIT ..................................................................................... 691
21.1 Functions of Power-on-Clear Circuit ............................................................................................... 691
21.2 Configuration of Power-on-Clear Circuit......................................................................................... 692
21.3 Operation of Power-on-Clear Circuit ............................................................................................... 692
21.4 Cautions for Power-on-Clear Circuit................................................................................................ 695
CHAPTER 22 LOW-VOLTAGE DETECTOR ....................................................................................... 697
22.1 Functions of Low-Voltage Detector ................................................................................................. 697
22.2 Configuration of Low-Voltage Detector........................................................................................... 698
22.3 Registers Controlling Low-Voltage Detector.................................................................................. 698
22.4 Operation of Low-Voltage Detector ................................................................................................. 703
22.4.1 When used as reset ......................................................................................................................704
22.4.2 When used as interrupt .................................................................................................................710
22.5 Cautions for Low-Voltage Detector.................................................................................................. 716
CHAPTER 23 REGULATOR ................................................................................................................. 720
23.1 Regulator Overview............................................................................................................................ 720
23.2 Registers Controlling Regulator....................................................................................................... 720
CHAPTER 24 OPTION BYTE............................................................................................................... 722
24.1 Functions of Option Bytes ................................................................................................................ 722
24.1.1 User option byte (000C0H to 000C2H/010C0H to 010C2H) .........................................................722
24.1.2 On-chip debug option byte (000C3H/ 010C3H) ............................................................................723
24.2 Format of User Option Byte .............................................................................................................. 723
24.3 Format of On-chip Debug Option Byte............................................................................................ 725
24.4 Setting of Option Byte........................................................................................................................ 726
CHAPTER 25 FLASH MEMORY.......................................................................................................... 727
25.1 Writing with Flash Memory Programmer ........................................................................................ 727
25.2 Programming Environment............................................................................................................... 730