ML610Q111/ML610Q112 User’s Manual
Chapter 4 MCU Control Function
FEUL610Q111
4-13
4.3.3.3 Note on Return Operation from STOP/HALT Mode
The operation of returning from the STOP mode and HALT mode varies according to the interrupt level (ELEVEL) of the
program status word (PSW), master interrupt enable flag (MIE), the contents of the interrupt enable register (IE0 to IE7),
and whether the interrupt is a non-maskable interrupt or a maskable interrupt.
For details of PSW and the IE and IRQ registers, see “nX-U8/100 Core Instruction Manual” and Chapter 5, “Interrupt”,
respectively.
Table 4-1 and Table 4-2 show the return operations from STOP/HALT mode.
Table 4-1 Return Operation from STOP/HALT Mode (Non-Maskable Interrupt)
ELEVEL
MIE
IEn.m
IRQn.m
Return operation from STOP/HALT mode
*
*
−
0
Not returned from STOP/HALT mode.
3
*
−
1
After the mode is returned from STOP/HALT mode, the program
operation restarts from the instruction following the instruction that
sets the STP/HLT bit to “1”. The program operation does not go to the
interrupt routine.
0, 1, 2
*
−
1
After the mode is returned from the STOP/HALT mode, program
operation restarts from the instruction following the instruction that
sets the STP/HLT bit to “1”, then goes to the interrupt routine.
Table 4-2 Return Operation from STOP/HALT Mode (Maskable Interrupt)
ELEVEL
MIE
IEn.m
IRQn.m
Return operation from STOP/HALT mode
*
*
*
0
Not returned from STOP/HALT mode.
*
*
0
1
*
0
1
1
After the mode is returned from STOP/HALT mode, the program
operation restarts from the instruction following the instruction that
sets the STP/HLT bit to “1”. The program operation does not go to the
interrupt routine.
2,3
1
1
1
0, 1
1
1
1
After the mode is returned from the STOP/HALT mode, program
operation restarts from the instruction following the instruction that
sets the STP/HLT bit to “1”, then goes to the interrupt routine.
The interrupt level (ELEVEL) of the program status word (PSW) is bits for indicating the status of the interrupt of the CPU.
The ELEVEL is set by the hardware when the processing shifts to the interrupt and returns from the interrupt.
−
If the ELEVEL is 0, it indicates that the CPU is performing neither nonmaskable interrupt processing nor maskable
interrupt processing nor software interrupt processing.
−
If the ELEVEL is 1, it indicates that the CPU is performing maskable interrupt processing or software interrupt
processing.
−
If the ELEVEL is 2, it indicates that the CPU is performing non-maskable interrupt processing.
−
If the ELEVEL is 3, it indicates that the CPU is performing interrupt processing specific to the emulator. This setting is
not allowed in normal applications.
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...