![](http://datasheet.mmic.net.cn/370000/-PD78F0021Y_datasheet_16681124/-PD78F0021Y_19.png)
19
CHAPTER 21 REAL-TIME OUTPUT PORT ........................................................................................ 495
21.1 Real-Time Output Port Functions ..................................................................................... 495
21.2 Real-Time Output Port Configuration............................................................................... 495
21.3 Real-Time Output Port Control Registers ........................................................................ 497
CHAPTER 22 INTERRUPT FUNCTIONS ............................................................................................ 499
22.1 Interrupt Function Types .................................................................................................... 499
22.2 Interrupt Sources and Configuration................................................................................ 500
22.3 Interrupt Function Control Registers ............................................................................... 504
22.4 Interrupt Servicing Operations .......................................................................................... 513
22.4.1
Non-maskable interrupt request acknowledge operation........................................................ 513
22.4.2
Maskable interrupt request acknowledge operation................................................................ 516
22.4.3
Software interrupt request acknowledge operation ................................................................. 518
22.4.4
Multiple interrupt servicing ........................................................................................................ 519
22.4.5
Interrupt request reserve .......................................................................................................... 522
22.5 Test Functions ..................................................................................................................... 523
22.5.1
Registers controlling the test function ...................................................................................... 523
22.5.2
Test input signal acknowledge operation................................................................................. 525
CHAPTER 23 EXTERNAL DEVICE EXPANSION FUNCTION ........................................................... 527
23.1 External Device Expansion Functions ............................................................................. 527
23.2 External Device Expansion Function Control Register ................................................. 531
23.3 External Device Expansion Function Timing .................................................................. 534
23.3.1
Timings in multiplexed bus mode............................................................................................ 534
23.3.2
Timings in separate bus mode ................................................................................................ 539
CHAPTER 24 STANDBY FUNCTION.................................................................................................. 545
24.1 Standby Function and Configuration ............................................................................... 545
24.1.1
Standby function........................................................................................................................ 545
24.1.2
Standby function control register.............................................................................................. 546
24.2 Standby Function Operations............................................................................................ 547
24.2.1
HALT mode................................................................................................................................ 547
24.2.2
STOP mode ............................................................................................................................... 550
CHAPTER 25 RESET FUNCTION ....................................................................................................... 553
25.1 Reset Function ..................................................................................................................... 553
CHAPTER 26 ROM CORRECTION ..................................................................................................... 559
26.1 ROM Correction Functions................................................................................................. 559
26.2 ROM Correction Configuration .......................................................................................... 559
26.3 ROM Correction Control Registers ................................................................................... 561
26.4 ROM Correction Application .............................................................................................. 562
26.5 ROM Correction Example ................................................................................................... 565
26.6 Program Execution Flow .................................................................................................... 566
26.7 Cautions on ROM Correction............................................................................................. 568