R01UH0092EJ0110 Rev.1.10
Page 124 of 807
Jul 31, 2012
M16C/64C Group
9. Power Control
9.3.4.3
Exiting Stop Mode
Use a reset or an interrupt to exit stop mode. Table 9.8 lists Resets and Interrupts to Exit Stop Mode
and Conditions for Use.
To exit stop mode by using hardware reset, voltage monitor 0 reset,
NMI
interrupt, voltage monitor 1
interrupt, or voltage monitor 2 interrupt, set bits ILVL2 to ILVL0 in the interrupt control registers for the
peripheral function interrupt to 000b (interrupt disabled) before setting the CM10 bit to 1.
When the MCU exits stop mode by using an interrupt, an interrupt request is generated, the CPU
clock starts running, and interrupt routine is performed.
When exiting stop mode by means of an interrupt, the CPU clock source varies depending on the
CPU clock source setting before the MCU had entered stop mode. Table 9.9 lists CPU Clock After
Exiting Stop Mode.
Table 9.8
Resets and Interrupts to Exit Stop Mode and Conditions for Use
Interrupt, Reset
Conditions for Use
In
te
rr
up
t
Peripheral
function
interrupt
INT
Usable
Key input
Usable
Timer A, timer B
Usable when counting external signals in event counter mode
Serial interface
Usable when an external clock is selected
Multi-master I
2
C-bus
interface
SCL/SDA interrupt is usable
Voltage monitor 1 interrupt
Usable when the digital filter is disabled (VW1C1 bit in the VW1C
register is 1)
Voltage monitor 2 interrupt
Usable when the digital filter is disabled (VW2C1 bit in the VW2C
register is 1)
NMI
Usable when the digital filter is disabled (bits NMIDF2 to NMIDF0
in the NMIDF register are 000b)
Reset
Hardware reset
Usable
Voltage monitor 0 reset
Usable
Table 9.9
CPU Clock After Exiting Stop Mode
CPU Clock Before Entering Stop Mode
CPU Clock After Exiting Stop Mode
Main clock divided by 1 (no division), 2, 4, 8 or 16
Main clock divided by 8
fOCO-S divided by 1 (no division), 2, 4, 8 or 16
fOCO-S divided by 8
fC
fC
Summary of Contents for M16C Series
Page 846: ...M16C 64C Group R01UH0092EJ0110...