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

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
6.4.3 Stop Mode
In stop mode, all oscillator circuits are turned off, so are the CPU clock and the peripheral function
clocks. Therefore, the CPU and the peripheral functions clocked by these clocks stop operating. The
least amount of power is consumed in this mode. If the voltage applied to Vcc pin is V
internal RAM is retained.
However, the peripheral functions clocked by external signals keep operating. The following interrupts
can be used to exit stop mode.
• Entering Stop Mode
• Pin Status in Stop Mode
• Exiting Stop Mode
The main clock divided by 8 of the clock which is used right before stop mode is used for the CPU
clock when exiting stop mode by a peripheral function interrupt.
Jan 27, 2006
The microcomputer is placed into stop mode by setting the CM10 bit of CM1 register to “1” (all clocks
turned off). At the same time, the CM06 bit of CM0 register is set to “1” (divide-by-8 mode) and the
CM15 bit of CM10 register is set to “1” (main clock oscillator circuit drive capability high).
Before entering stop mode, set the OCD1 to OCD0 bits to “00
disable).
The status before wait mode is retained.
However, the X
pin). The P4
The microcomputer is moved out of stop mode by a hardware reset or peripheral function interrupt.
When using a hardware reset to exit stop mode, set the ILVL2 to ILVL0 bits for the peripheral function
interrupts to “000
When using a peripheral function interrupt to exit stop mode, set up the following before setting the
CM10 bit to “1”.
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 stop mode.
• INT3 interrupt (INT3 can be used when there is no filter and Timer C output compare mode (the
• Key interrupt
• INT0 to INT2 interrupts (INT0 can be used only when there is no filter.)
• Timer X interrupt (when counting external pulses in event counter mode)
• Timer Y interrupt (when counting inputs from CNTR1 pin in timer mode)
• Serial interfaces interrupt (when external clock is selected)
• Voltage detection interrupt
peripheral function interrupt to be used to exit stop mode.
Also, for all of the peripheral function interrupts not used to exit stop mode, set the ILVL2 to ILVL0
bits to “000
In this case, when an interrupt request is generated and the CPU clock is thereby turned on, an
interrupt sequence is executed.
TCC13 bit in the TCC1 register is set to “1”)
______
______
7
2
(X
page 40 of 205
”.
OUT
OUT
2
” (interrupts disabled) before setting the CM10 bit to “1”.
(P4
) is in input state when the CM13 bit is set to “0” (input port P4
7
) pin is held “H” when the CM13 bit in the CM1 register is set to “1” (X
______
2
” (oscillation stop detection function
6
RAM
, P4
6.4 Power Control
or more, the
7
).
IN
-X
OUT

Related parts for R5F21133DFP