
ML610471/472/473/Q471/Q472/Q473 User's Manual
Chapter 5 Interrupt
5-15
5.3.1 Maskable Interrupt Processing
When an interrupt is generated with the MIE flag set to “1”, the following processing is executed by hardware and the
processing of program shifts to the interrupt destination.
(1)
Transfer the program counter (PC) to ELR1
(2)
Transfer CSR to ECSR1
(3)
Transfer PSW to EPSW1
(4)
Set the MIE flag to “0”
(5)
Set the ELEVEL field to“1”
(6)
Load the interrupt start address into PC
5.3.2 Non-Maskable Interrupt Processing
When an interrupt is generated regardless of the state of MIE flag, the following processing is performed by hardware
and the processing of program shifts to the interrupt destination.
(1)
Transfer PC to ELR2
(2)
Transfer CSR to ECSR2
(3)
Transfer PSW to EPSW2
(4)
Set the ELEVEL field to “2”
(5)
Load the interrupt start address into PC
5.3.3 Software Interrupt Processing
A software interrupt is generated as required within an application program. When the SWI instruction is performed
within the program, a software interrupt is generated, the following processing is performed by hardware, and the
processing program shifts to the interrupt destination. The vector table is specified by the SWI instruction.
(1)
Transfer PC to ELR1
(2)
Transfer CSR to ECSR1
(3)
Transfer PSW to EPSW1
(4)
Set the MIE flag to “0”
(5)
Set the ELEVEL field to“1”
(6)
Load the interrupt start address into PC
Reference:
For the MIE flag, Program Counter (PC), CSR, PSW, and ELEVEL, see “nX-U8/100 Core Instruction Manual”.
Summary of Contents for ML610471
Page 12: ...Chapter 1 Overview...
Page 38: ...Chapter 2 CPU and Memory Space...
Page 44: ...Chapter 3 Reset Function...
Page 48: ...Chapter 4 MCU Control Function...
Page 62: ...Chapter 5 Interrupts...
Page 82: ...Chapter 6 Clock Generation Circuit...
Page 94: ...Chapter 7 Time Base Counter...
Page 105: ...Chapter 8 Capture...
Page 114: ...Chapter 9 Timer...
Page 133: ...Chapter 10 Watchdog Timer...
Page 141: ...Chapter 11 UART...
Page 164: ...Chapter 12 Port 0...
Page 173: ...Chapter 13 Port 2...
Page 180: ...Chapter 14 Port 3...
Page 188: ...Chapter 15 Port 4...
Page 199: ...Chapter 16 Port 6...
Page 205: ...Chapter 17 RC Oscillation Type A D Converter...
Page 225: ...Chapter 18 LCD Drivers...
Page 243: ...Chapter 19 Power Supply Circuit...
Page 245: ...Chapter 20 uEASE Flash Writer System...
Page 249: ...Chapter 21 Software Development...
Page 258: ...Appendixes...
Page 280: ...Revision History...