UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 24

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
CHAPTER 19 EDGE DETECTION FUNCTION ........................................................................... 485
CHAPTER 20 INTERRUPT FUNCTIONS ...................................................................................... 493
19.1
19.2
19.3
19.4
19.5
20.1
20.2
20.3
20.4
20.5
20.6
20.7
20.8
EDGE DETECTION FUNCTION CONTROL REGISTERS ..........................................................
19.1.1
19.1.2
EDGE DETECTION FOR PINS P20, P25 AND P26 ................................................................
P21 PIN EDGE DETECTION ..........................................................................................................
PIN EDGE DETECTION FOR PINS P22 TO P24 .....................................................................
CAUTIONS ..........................................................................................................................................
INTERRUPT REQUEST SOURCES ...............................................................................................
20.1.1
20.1.2
20.1.3
20.1.4
INTERRUPT PROCESSING MODES .............................................................................................
20.2.1
20.2.2
20.2.3
INTERRUPT PROCESSING CONTROL REGISTERS .................................................................
20.3.1
20.3.2
20.3.3
20.3.4
20.3.5
20.3.6
SOFTWARE INTERRUPT ACKNOWLEDGMENT OPERATIONS ...............................................
20.4.1
20.4.2
OPERAND ERROR INTERRUPT ACKNOWLEDGMENT OPERATION ....................................
NON-MASKABLE INTERRUPT ACKNOWLEDGMENT OPERATION ........................................
MASKABLE INTERRUPT ACKNOWLEDGMENT OPERATION .................................................
20.7.1
20.7.2
20.7.3
MACRO SERVICE FUNCTION .......................................................................................................
20.8.1
20.8.2
20.8.3
20.8.4
20.8.5
20.8.6
20.8.7
20.8.8
20.8.9
External Interrupt Mode Registers (INTM0, INTM1) ...........................................................
Sampling Clock Selection Register (SCS0) ........................................................................
Software Interrupts ...............................................................................................................
Operand Error Interrupts ......................................................................................................
Non-Maskable Interrupts ......................................................................................................
Maskable Interrupts ..............................................................................................................
Vectored Interrupt Processing .............................................................................................
Macro Service .......................................................................................................................
Context Switching .................................................................................................................
Interrupt Control Registers ...................................................................................................
Interrupt Mask Registers (MK0/MK1L) ................................................................................
In-Service Priority Register (ISPR) ......................................................................................
Interrupt Mode Control Register (IMC) ................................................................................
Watchdog Timer Mode Register (WDM) ..............................................................................
Program Status Word (PSW) ...............................................................................................
BRK Instruction Software Interrupt Acknowledgment Operation ........................................
BRKCS Instruction Software Interrupt (Software Context Switching)
Acknowledgment Operation .................................................................................................
Vectored Interrupt .................................................................................................................
Context Switching .................................................................................................................
Maskable Interrupt Priority Levels .......................................................................................
Outline of Macro Service Function ......................................................................................
Types of Macro Service ........................................................................................................
Basic Macro Service Operation ...........................................................................................
Operation at End of Macro Service .....................................................................................
Macro Service Control Registers .........................................................................................
Macro Service Type A ..........................................................................................................
Macro Service Type B ..........................................................................................................
Macro Service Type C ..........................................................................................................
Counter Mode .......................................................................................................................
– viii –
485
485
488
489
490
491
492
494
496
496
496
496
497
497
497
497
498
501
506
508
509
510
512
513
514
518
520
520
522
528
528
528
531
532
535
538
543
548
562
511
511
511

Related parts for UPD784026