欢迎访问ic37.com |
会员登录 免费注册
发布采购

R5F21134DFP 参数 Datasheet PDF下载

R5F21134DFP图片预览
型号: R5F21134DFP
PDF下载: 下载PDF文件 查看货源
内容描述: 16位单片机M16C族/ R8C / Tiny系列 [16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES]
分类和应用: 微控制器和处理器外围集成电路计算机时钟
文件页数/大小: 224 页 / 2076 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号R5F21134DFP的Datasheet PDF文件第33页浏览型号R5F21134DFP的Datasheet PDF文件第34页浏览型号R5F21134DFP的Datasheet PDF文件第35页浏览型号R5F21134DFP的Datasheet PDF文件第36页浏览型号R5F21134DFP的Datasheet PDF文件第38页浏览型号R5F21134DFP的Datasheet PDF文件第39页浏览型号R5F21134DFP的Datasheet PDF文件第40页浏览型号R5F21134DFP的Datasheet PDF文件第41页  
R8C/13 Group  
5.4 Voltage Detection Circuit  
5.4.1 Voltage Detection Interrupt  
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 VCC pin rises to Vdet or more  
or drops below Vdet if all of the following conditions hold true in normal operation mode and wait  
mode.  
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)  
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 1when passing through Vdet is detected after the volt-  
age inputted to the VCC pin is up or down.  
A voltage detection interrupt request is generated when the D42 bit changes state from 0to 1. The  
D42 bit needs to be set to 0in 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 VCC pin has passed  
through Vdet with the DF0 to DF1 bits in the D4INT register.  
Table 5.2 Voltage Detection Interrupt Request Generation Conditions  
Operation mode  
VC27 bit  
D40 bit  
D41 bit  
D42 bit  
D46 bit  
VC13 bit  
CM14 bit  
0
(2)  
(2)  
From 0 to 1  
From 1 to 0  
Normal operation  
1
1
0 or 1  
0
0
(1)  
mode  
(2)  
(2)  
From 0 to 1  
From 1 to 0  
Wait mode  
1
1
0 or 1  
0
0
0
NOTES:  
1. The status except the wait mode and stop mode is handled as the normal mode. (Refer to Chapter 6, "Clock  
Generation Circuit.")  
2. Refer to Figure 5.14, "Operation Example of Voltage Detection Interrupt Generation Circuit" for interrupt generation  
timing.  
Rev.1.20 Jan 27, 2006 page 26 of 205  
REJ09B0111-0120  
 复制成功!