Renesas M16C/64C User Manual page 155

Table of Contents

Advertisement

M16C/64C Group
9.3.3.4
Exiting Wait Mode
The MCU exits wait mode by a reset or interrupt. Table 9.6 lists Resets and Interrupts to Exit Wait
Mode and Conditions for Use.
The peripheral function interrupts are affected by the CM02 bit in the CM0 register. When the CM02
bit is 0 (peripheral function clock f1 does not stop in wait mode), peripheral function interrupts can be
used to exit wait mode. When the CM02 bit is 1 (peripheral function clock f1 stops in wait mode), the
peripheral functions using the peripheral function clock f1 stop operating, so the peripheral functions
activated by external signals and the peripheral function clocks except f1 (fOCO-S, fC, fC32) can be
used to exit wait mode.
fOCO-S is also used for the digital filter in the voltage detector, so the MCU exits wait mode when the
digital filter is disabled or when fOCO-S is supplied.
Table 9.6
Resets and Interrupts to Exit Wait Mode and Conditions for Use
Interrupt, Reset
INT
Key input
Timer A,
timer B
Remote control
signal receiver
Serial
interface
Multi-master
2
I
C-bus interface
CEC function
A/D converter
Real-time clock
Voltage monitor 1,
Voltage monitor 2
NMI
Hardware reset
Voltage monitor 0
reset
Voltage monitor 1
reset,
Voltage monitor 2
reset
Watchdog timer
When the MCU exits wait mode by using an interrupt, an interrupt request is generated, the CPU
clock starts running, and interrupt routine is performed.
When the MCU exits wait mode by an interrupt, the CPU clock is the same CPU clock used while
executing the WAIT instruction.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
CM02 = 0
Usable
Usable
Usable in all modes
Usable
Usable in internal clock or
external clock
2
Both I
C-bus interface interrupt
and SCL/SDA interrupt are usable
Usable
Usable in one-shot mode or single
sweep mode.
Usable when fC is supplied and is used as count source
Usable when the digital filter is disabled (VW1C1 bit in the VW1C register or the VW2C1 bit
in the VW2C register is 1).
Usable when the digital filter is enabled (VW1C1 bit in the VW1C register or the VW2C1 bit
in the VW2C register is 0) and fOCO-S is supplied (CM14 bit in the CM1 register is 0).
Usable when the digital filter is disabled (bits NMIDF2 to NMIDF0 in the NMIDF register are
000b)
Usable
Usable
Usable when the digital filter is disabled (VW1C1 bit in the VW1C register or the VW2C1 bit
in the VW2C register is 1).
Usable when the digital filter is enabled (VW1C1 bit in the VW1C register or the VW2C1 bit
in the VW2C register is 0) and fOCO-S is supplied (CM14 bit in the CM1 register is 0).
Usable when count source protection mode is enabled (the CSPRO bit in the CSPR
register is 1).
Conditions for Use
CM02 = 1
Usable
Usable
Usable when fOCO-S or fC32 is supplied and is used
as count source.
Usable when counting external signals in event counter
mode.
Usable when fC is supplied and is used as count
source.
Usable when fOCO-S, or fC32 is supplied and is used
as count source for timer B1 or B2, and timer B1 or B2
underflow is used as count source for remote control
signal receiver.
Usable in external clock
SCL/SDA interrupt is usable
Usable when fC is supplied and is used as count
source.
Do not use.
9. Power Control
Page 122 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents