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

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 5.2 Voltage Detection Interrupt Request Generation Conditions
NOTES:
N o r m a l o p e r a t i o n
m o d e
O p e r a t i o n m o d e
W a i t m o d e
1. The status except the wait mode and stop mode is handled as the normal mode. (Refer to Chapter 6, "Clock
2. Refer to Figure 5.14, "Operation Example of Voltage Detection Interrupt Generation Circuit" for interrupt generation
5.4.1 Voltage Detection Interrupt
Generation Circuit.")
timing.
Figure 5.13 shows the block diagram of voltage detection interrupt generation circuit.
Refer to 5.4.2, "Exiting Stop Mode on a Voltage Detection Circuit" for Getting out of stop mode due to
the voltage detection interrupt.
A voltage detection interrupt is generated when the input voltage at the V
or drops below Vdet if all of the following conditions hold true in normal operation mode and wait
mode.
To use the digital filter (D41 bit in the D4INT register is set to “0”), set the CM14 bit in the CM1 register
to "0" (low-speed on-chip oscillator on). Figure 5.14 shows an operation example of voltage detection
interrupt generation circuit.
The voltage detection interrupt shares the interrupt vector with the watchdog timer interrupt and oscil-
lation stop detection interrupt.
The D42 bit in the D4INT register becomes “1” when passing through Vdet is detected after the volt-
age inputted to the V
A voltage detection interrupt request is generated when the D42 bit changes state from “0” to “1”. The
D42 bit needs to be set to “0” in a program.
Table 5.2 lists the voltage detection interrupt request generation conditions.
It takes 4 cycles of sampling clock until the D42 bit is set to "1" since the voltage which inputs to
Vcc pin passes Vdet.
It is possible to set the sampling clock detecting that the voltage applied to the V
through Vdet with the DF0 to DF1 bits in the D4INT register.
(1 )
Jan 27, 2006
• The VC27 bit in the VCR2 register is set to “1” (voltage detection circuit enabled)
• The D40 bit in the D4INT register is set to “1” (voltage detection interrupt enabled)
• The D46 bit in the D4INT register is set “0” (voltage detection interrupt selected)
V C 2 7 b i t
1
1
page 26 of 205
CC
D40 bit
1
1
pin is up or down.
D 4 1 b i t
0 or 1
0 o r 1
D42 bit
0
0
D 4 6 b i t
0
0
F r o m 0 t o 1
F r o m 1 t o 0
F r o m 0 t o 1
F r o m 1 t o 0
VC13 bit
(2 )
(2 )
(2 )
(2 )
CC
CM14 bit
5.4 Voltage Detection Circuit
pin rises to Vdet or more
0
0
CC
pin has passed

Related parts for R5F21133DFP