English
Language : 

M16C6S_09 Datasheet, PDF (38/208 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C/6S Group
Clock Generation Circuit
Table 1.7.3. Pin Status During Wait Mode
Pin
I/O ports
Status
Retains status before wait mode
Table 1.7.4. Interrupts to Exit Wait Mode
Interrupt
Serial I/O interrupt
CM02=0
Can be used when operating
with internal or external clock
Timer A interrupt
Can be used in all modes
INT interrupt
Can be used
CM02=1
Can be used when operating
with external clock
Can be used in event counter
mode
Can be used
If the microcomputer is to be moved out of wait mode by a peripheral function interrupt, set up the
following before executing the WAIT instruction.
1. In the ILVL2 to ILVL0 bits of interrupt control register, set the interrupt priority level of the periph
eral function interrupt to be used to exit wait mode.
Also, for all of the peripheral function interrupts not used to exit wait mode, set the ILVL2 to ILVL0
bits to “0002” (interrupt disable).
2. Set the I flag to “1”.
3. Enable the peripheral function whose interrupt is to be used to exit wait mode.
In this case, when an interrupt request is generated and the CPU clock is thereby turned on, an
interrupt routine is executed.
The CPU clock turned on when exiting wait mode by a peripheral function interrupt is the same CPU
clock that was on when the WAIT instruction was executed.
Rev.5.01 Dec 10, 2009 page 38 of 201
REJ03B0014-0501