Datasheet

Index-12
17.4.1 Maskable interrupt request acknowledgment ............................................................................... 716
17.4.2 Software interrupt request acknowledgment ................................................................................ 719
17.4.3 Multiple interrupt servicing ............................................................................................................ 719
17.4.4 Interrupt request hold ................................................................................................................... 723
CHAPTER 18 KEY INTERRUPT FUNCTION ..................................................................................... 724
18.1 Functions of Key Interrupt ...................................................................................................... 724
18.2 Configuration of Key Interrupt ................................................................................................ 725
18.3 Register Controlling Key Interrupt ......................................................................................... 726
18.3.1 Key return control register (KRCTL) ............................................................................................. 726
18.3.2 Key return mode register 0 (KRM0) .............................................................................................. 727
18.3.3 Key return flag register (KRF) ....................................................................................................... 727
18.3.4 Port mode registers 1, 3, 7, 14 (PM1, PM3, PM7, PM14) ............................................................ 728
18.4 Key Interrupt Operation ........................................................................................................... 729
18.4.1 When not using the key interrupt flag (KRMD = 0) ....................................................................... 729
18.4.2 When using the key interrupt flag (KRMD = 1) ............................................................................. 730
CHAPTER 19 STANDBY FUNCTION .................................................................................................. 732
19.1 Standby Function and Configuration ..................................................................................... 732
19.1.1 Standby function ........................................................................................................................... 732
19.2 Registers controlling standby function ................................................................................. 733
19.3 Standby Function Operation ................................................................................................... 733
19.3.1 HALT mode .................................................................................................................................. 733
19.3.2 STOP mode .................................................................................................................................. 738
19.3.3 SNOOZE mode ............................................................................................................................ 743
CHAPTER 20 RESET FUNCTION ........................................................................................................ 745
20.1 Timing of Reset Operation ...................................................................................................... 747
20.2 States of Operation During Reset Periods............................................................................. 749
20.3 Register for Confirming Reset Source ................................................................................... 751
20.3.1 Reset Control Flag Register (RESF) ............................................................................................ 751
CHAPTER 21 POWER-ON-RESET CIRCUIT ...................................................................................... 754
21.1 Functions of Power-on-reset Circuit ...................................................................................... 754
21.2 Configuration of Power-on-reset Circuit ................................................................................ 755
21.3 Operation of Power-on-reset Circuit ...................................................................................... 755
CHAPTER 22 VOLTAGE DETECTOR .................................................................................................. 759
22.1 Functions of Voltage Detector ................................................................................................ 759
22.2 Configuration of Voltage Detector .......................................................................................... 760