
User’s Manual U16541EJ4V0UD
18
22.2
Non-Maskable Interrupts ..................................................................................................... 873
22.2.1
Operation .................................................................................................................................875
22.2.2
Restore ....................................................................................................................................876
22.2.3
NP flag .....................................................................................................................................877
22.3
Maskable Interrupts.............................................................................................................. 878
22.3.1
Operation .................................................................................................................................878
22.3.2
Restore ....................................................................................................................................880
22.3.3
Priorities of maskable interrupts...............................................................................................881
22.3.4
Interrupt control register (xxICn) ..............................................................................................885
22.3.5
Interrupt mask registers 0 to 3 (IMR0 to IMR3)........................................................................888
22.3.6
In-service priority register (ISPR) .............................................................................................890
22.3.7
ID flag ......................................................................................................................................891
22.3.8
Watchdog timer mode register 2 (WDTM2) .............................................................................891
22.4
Software Exception .............................................................................................................. 892
22.4.1
Operation .................................................................................................................................892
22.4.2
Restore ....................................................................................................................................893
22.4.3
EP flag .....................................................................................................................................894
22.5
Exception Trap...................................................................................................................... 895
22.5.1
Illegal opcode definition ...........................................................................................................895
22.5.2
Debug trap ...............................................................................................................................897
22.6
External Interrupt Request Input Pins (NMI and INTP0 to INTP7) ................................... 899
22.6.1
Noise elimination .....................................................................................................................899
22.6.2
Edge detection.........................................................................................................................899
22.7
Interrupt Acknowledge Time of CPU .................................................................................. 904
22.8
Periods in Which Interrupts Are Not Acknowledged by CPU .......................................... 905
22.9
Cautions ................................................................................................................................ 905
CHAPTER 23 KEY INTERRUPT FUNCTION ..................................................................................... 906
23.1
Function................................................................................................................................. 906
23.2
Register ................................................................................................................................. 907
23.3
Cautions ................................................................................................................................ 907
CHAPTER 24 STANDBY FUNCTION .................................................................................................. 908
24.1
Overview................................................................................................................................ 908
24.2
Registers ............................................................................................................................... 910
24.3
HALT Mode............................................................................................................................ 913
24.3.1
Setting and operation status ....................................................................................................913
24.3.2
Releasing HALT mode.............................................................................................................913
24.4
IDLE1 Mode ........................................................................................................................... 915
24.4.1
Setting and operation status ....................................................................................................915
24.4.2
Releasing IDLE1 mode ............................................................................................................915
24.5
IDLE2 Mode ........................................................................................................................... 917
24.5.1
Setting and operation status ....................................................................................................917
24.5.2
Releasing IDLE2 mode ............................................................................................................917
24.5.3
Securing setup time when releasing IDLE2 mode ................................................................... 919
24.6
STOP Mode............................................................................................................................ 920
24.6.1
Setting and operation status ....................................................................................................920
24.6.2
Releasing STOP mode ............................................................................................................920