- xiv -
Contents
11-1 Format of External Interrupt Mode Register 0 (INTM0)........................................................... 294
11-2 Format of External Interrupt Mode Register 1 (INTM1)........................................................... 295
11-3 Edge Detection on Pin P20........................................................................................................... 296
11-4 Edge Detection on Pins P21 to P26............................................................................................. 297
11-5 Erroneously Detected Edges........................................................................................................2 97
11-6 Erroneously Detected Edges........................................................................................................2 99
12-1 INTM1 Register Format ................................................................................................................303
12-2 ADM Register Format ...................................................................................................................304
12-3 Interrupt Request Flag Register (IF0) Format ............................................................................305
12-4 Interrupt Mask Register (MK0) Format....................................................................................... 306
12-5 Interrupt Service Mode Register (ISM0) Format....................................................................... 306
12-6 Priority Specification Flag Register (PR0) Format.....................................................................307
12-7 Interrupt Status Register (IST) Format .......................................................................................307
12-8 Program Status Word Format......................................................................................................308
12-9 Accepting an NMI Interrupt Request ..........................................................................................309
12-10 Interrupt Handling Algorithm ......................................................................................................312
12-11 Example of Handling an Interrupt Request When an Interrupt Is
Already Being Handled................................................................................................................. 314
12-12 Example of Handling Interrupts That Occur Simultaneously..................................................316
12-13 Interrupt Request Generation and Acceptance .........................................................................317
12-14 Differences between a Vectored Interrupt and Macro Service ...............................................319
12-15 Macro Service Processing Sequence..........................................................................................321
12-16 Macro Service Control Word Configuration ..............................................................................322
12-17 Macro Service Mode Register Format........................................................................................ 323
12-18 Flow of Data Transfer by Macro Service (Type A)....................................................................325
12-19 Type A Macro Service Channel ...................................................................................................326
12-20 Asynchronous Serial Reception ..................................................................................................327
12-21 Flow of Data Transfer by Macro Service (Type B)....................................................................32 8
12-22 Type B Macro Service Channel ...................................................................................................329
12-23 Parallel Data Input in Synchronization with an External Interrupt......................................... 330
12-24 Parallel Data Input Timing ...........................................................................................................330
12-25 Flow of Data Transfer by Macro Service (Type C)....................................................................33 2
12-26 Type C Macro Service Channel ...................................................................................................334
12-27 Open-Loop Control for a Stepper Motor by the Real-Time Output Port ...............................336
12-28 Data Transfer Control Timing...................................................................................................... 337
12-29 Four-Phase Stepping Motor with Phase 1 Excitation............................................................... 338
12-30 Four-Phase Stepping Motor with Phases 1 and 2 Excitation.................................................. 338
12-31 Block Diagram 1 for Automatic Addition Control Plus Ring Control
(Constant-Speed Rotation with Phases 1 and 2 Excitation) ....................................................339
12-32 Timing Chart 1 for Automatic Addition Control Plus Ring Control
(Constant-Speed Rotation with Phases 1 and 2 Excitation) ....................................................340
12-33 Block Diagram 2 for Automatic Addition Control Plus Ring Control
(with the Output Timing Varied by Phase 2 Excitation)...........................................................341
12-34 Timing Chart 2 for Automatic Addition Control Plus Ring Control
(with the Output Timing Varied by Phase 2 Excitation)...........................................................342
Fig. No. Title, Page