R5F21133DFP RENESAS [Renesas Technology Corp], R5F21133DFP Datasheet - Page 50

no-image

R5F21133DFP

Manufacturer Part Number
R5F21133DFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F21133DFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/13 Group
Rev.1.20
REJ09B0111-0120
Table 6.3 Interrupts to Exit Wait Mode and Usage Conditions
6.4.2 Wait Mode
Oscillation stop detection
interrupt
A/D conversion interrupt
INT interrupt
Voltage detection interrupt
Interrupt
Key input interrupt
Timer X interrupt
Timer Y interrupt
Timer Z interrupt
Timer C interrupt
Serial interface interrupt
In wait mode, the CPU clock is turned off, so are the CPU and the watchdog timer because both are
operated by the CPU clock. Because the main clock and on-chip oscillator clock both are on, the
peripheral functions using these clocks keep operating.
• Peripheral Function Clock Stop Function
• Entering Wait Mode
• Pin Status During Wait Mode
• Exiting Wait Mode
Jan 27, 2006
If the CM02 bit is “1” (peripheral function clocks turned off during wait mode), the f
f
that much.
The microcomputer is placed into wait mode by executing the WAIT instruction.
The microcomputer is moved out of wait mode by a hardware reset or peripheral function interrupt.
When using a hardware reset to exit wait mode, set the ILVL2 to ILVL0 bits for the peripheral function
interrupts to “000
The peripheral function interrupts are affected by the CM02 bit. If CM02 bit is “0” (peripheral function
clocks not turned off during wait mode), all peripheral function interrupts can be used to exit wait
mode. If CM02 bit is “1” (peripheral function clocks turned off during wait mode), the peripheral
functions using the peripheral function clocks stop operating, so that only the peripheral functions
clocked by external signals can be used to exit from wait mode.
Table 6. 3 lists the interrupts to exit wait mode and the usage conditions.
When using a peripheral function interrupt to exit wait mode, set up the following before executing
the WAIT instruction.
1. In the ILVL2 to ILVL0 bits in the interrupt control register, set the interrupt priority level of the
2. Set the I flag to “1”.
3. Enable the peripheral function whose interrupt is to be used to exit wait mode.
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.
8SIO
The status before wait mode is retained.
Also, for all of the peripheral function interrupts not used to exit wait mode, set the ILVL2 to ILVL0
In this case, when an interrupt request is generated and the CPU clock is thereby turned on, an
interrupt sequence is executed.
bits to “000
peripheral function interrupt to be used to exit wait mode.
, f
32SIO
, and f
2
page 39 of 205
” (interrupt disable).
2
AD
” (interrupts disabled) before executing the WAIT instruction.
CM02=0
Can be used when operating with internal
or external clock
Can be used
Can be used in one-shot mode
Can be used in all modes
Can be used in all modes
Can be used in all modes
Can be used in all modes
Can be used
Can be used
Can be used
clocks are turned off when in wait mode, with the power consumption reduced
Can be used (INT0 and INT3 can be used if there
is no filter.
CM02=1
Can be used when operating with external clock
Can be used
Can be used
Can be used in event counter mode
Can be used when counting inputs from CNTR1
pin in timer mode
(Do not use)
(Do not use)
(Do not use)
(Do not use)
1
, f
6.4 Power Control
2
, f
8
, f
32
, f
1SIO
,

Related parts for R5F21133DFP