欢迎访问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文件第69页浏览型号R5F21134DFP的Datasheet PDF文件第70页浏览型号R5F21134DFP的Datasheet PDF文件第71页浏览型号R5F21134DFP的Datasheet PDF文件第72页浏览型号R5F21134DFP的Datasheet PDF文件第74页浏览型号R5F21134DFP的Datasheet PDF文件第75页浏览型号R5F21134DFP的Datasheet PDF文件第76页浏览型号R5F21134DFP的Datasheet PDF文件第77页  
______  
R8C/13 Group  
10.2 INT Interrupt  
______  
______  
10.2.3 INT1 Interrupt and INT2 Interrupt  
______  
______  
INT1 interrupts are triggered by INT1 inputs. The edge polarity can be selected with the R0EDG bit in  
______  
the TXMR register. The INT1 pin is shared with the CNTR0 pin.  
______  
______  
INT2 interrupts are triggered by INT2 inputs. The edge polarity can be selected with the R1EDG bit in  
______  
the TYZMR register. The INT2 pin shared with the CNTR1 pin.  
______  
_____  
Figure 10.13 shows the TXMR and TYZMR registers when using INT1 and INT2 interrupts.  
Timer X mode register  
b7 b6 b5 b4 b3 b2 b1 b0  
Symbol  
TXMR  
Address  
008B16  
After reset  
0016  
0
0
0
0
0
0
RW  
RW  
Bit symbol  
TXMOD0  
Function  
Bit name  
b1 b0  
Operation mode  
select bit 0, 1  
0 0 : Timer mode or pulse period  
measurement mode(3)  
TXMOD1  
R0EDG  
RW  
RW  
RW  
RW  
RW  
RW  
RW  
INT1/CNTR0 polarity  
0 : Rising edge  
1 : Falling edge  
switching bit(1, 2)  
Timer X count  
start flag  
0 : Stops counting  
1 : Starts counting  
TXS  
TXOCNT  
Set to "0" in timer mode  
0 : Other than pulse period measurement  
mode(3)  
Operation mode  
select bit 2  
TXMOD2  
TXEDG  
TXUND  
Set to "0" in timer mode  
Set to "0" in timer mode  
NOTES:  
1. The IR bit in the INT1IC may be set to 1(interrupt requested) when the R0EDG bit is rewritten. Refer to the  
paragraph 19.2.5 Changing Interrupt Factorin the Usage Notes Reference Book.  
2. This bit is used to select the polarity of INT1 interrupt in timer mode.  
3. When using INT1 interrupts, should select timer mode.  
Timer Y, Z mode register  
b7 b6 b5 b4 b3 b2 b1 b0  
Symbol  
TYZMR  
Address  
008016  
After reset  
0016  
0
Bit symbol  
TYMOD0  
Function  
RW  
RW  
Bit name  
0 : Timer mode(1)  
Timer Y operation  
mode bit  
0 : Rising edge  
1 : Falling edge  
INT2/CNTR1 polarity  
switching bit(2)  
R1EDG  
TYWC  
RW  
Functions varies depending on  
the operation mode  
Timer Y write  
control bit  
RW  
RW  
Timer Y count  
start flag  
0 : Stops counting  
1 : Starts counting  
TYS  
Timer Z-related bit  
TZMOD0  
TZMOD1  
RW  
RW  
TZWC  
TZS  
RW  
RW  
NOTES:  
1. When using INT2 interrupts, must set to timer mode.  
2. The IR bit in the INT2IC may be set to 1(interrupt requested) when the R1EDG bit is rewritten.  
Refer to the paragraph 19.2.5 Changing Interrupt Factorin the Usage Notes Reference Book.  
______  
______  
Figure 10.13 TXMR Register and TYZMR Register when INT1 and INT2 Interrupt Used  
Rev.1.20 Jan 27, 2006 page 62 of 205  
REJ09B0111-0120  
 复制成功!