English
Language : 

UPD784938 Datasheet, PDF (20/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
23.1.3 Non-maskable interrupts .............................................................................................................. 528
23.1.4 Maskable interrupts ...................................................................................................................... 528
23.2 Interrupt Service Modes ......................................................................................................... 529
23.2.1 Vectored interrupt service ............................................................................................................ 529
23.2.2 Macro service ............................................................................................................................... 529
23.2.3 Context switching ......................................................................................................................... 529
23.3 Interrupt Service Control Registers ...................................................................................... 530
23.3.1 Interrupt control registers ............................................................................................................ 533
23.3.2 Interrupt mask registers (MK0/MK1) ........................................................................................... 538
23.3.3 In-service priority register (ISPR) ................................................................................................ 540
23.3.4 Interrupt mode control register (IMC) .......................................................................................... 541
23.3.5 Watchdog timer mode register (WDM) ....................................................................................... 542
23.3.6 Program status word (PSW) ........................................................................................................ 543
23.4 Software Interrupt Acknowledgment Operations ................................................................ 544
23.4.1 BRK instruction software interrupt acknowledgment operation ................................................. 544
23.4.2 BRKCS instruction software interrupt (software context switching)
acknowledgment operation .......................................................................................................... 544
23.5 Operand Error Interrupt Acknowledgment Operation ........................................................ 546
23.6 Non-Maskable Interrupt Acknowledgment Operation ........................................................ 546
23.7 Maskable Interrupt Acknowledgment Operation ................................................................. 550
23.7.1 Vectored interrupt ......................................................................................................................... 552
23.7.2 Context switching ......................................................................................................................... 552
23.7.3 Maskable interrupt priority levels ................................................................................................ 554
23.8 Macro Service Function .......................................................................................................... 560
23.8.1 Outline of macro service function ................................................................................................ 560
23.8.2 Types of macro service ................................................................................................................ 560
23.8.3 Basic macro service operation .................................................................................................... 563
23.8.4 Operation at end of macro service .............................................................................................. 564
23.8.5 Macro service control registers ................................................................................................... 566
23.8.6 Macro service type A ................................................................................................................... 569
23.8.7 Macro service type B ................................................................................................................... 574
23.8.8 Macro service type C ................................................................................................................... 579
23.8.9 Counter mode ............................................................................................................................... 592
23.9 When Interrupt Requests and Macro Service are Temporarily Held Pending ................ 594
23.10 Instructions whose Execution is Temporarily Suspended by an Interrupt or
Macro Service ........................................................................................................................... 596
23.11 Interrupt and Macro Service Operation Timing ................................................................... 596
23.11.1 Interrupt acknowledge processing time ...................................................................................... 597
23.11.2 Processing time of macro service ............................................................................................... 598
23.12 Restoring Interrupt Function to Initial State ........................................................................ 599
23.13 Cautions .................................................................................................................................... 600
CHAPTER 24 LOCAL BUS INTERFACE FUNCTION ........................................................................ 603
24.1 Memory Expansion Function ................................................................................................. 603
24.1.1 Memory expansion mode register (MM) ..................................................................................... 603
24.1.2 Memory map with external memory expansion .......................................................................... 605
24.1.3 Basic operation of local bus interface ......................................................................................... 614
24.2 Wait Function ........................................................................................................................... 615
20
Preliminary User’s Manual U13987EJ1V0UM00