欢迎访问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文件第90页浏览型号R5F21134DFP的Datasheet PDF文件第91页浏览型号R5F21134DFP的Datasheet PDF文件第92页浏览型号R5F21134DFP的Datasheet PDF文件第93页浏览型号R5F21134DFP的Datasheet PDF文件第95页浏览型号R5F21134DFP的Datasheet PDF文件第96页浏览型号R5F21134DFP的Datasheet PDF文件第97页浏览型号R5F21134DFP的Datasheet PDF文件第98页  
R8C/13 Group  
12.2 Timer (Timer Y)  
12.2.1 Timer Mode  
In this mode, the timer counts an internally generated count source (see Table 12.7 Timer Mode  
Specifications). An external signal input to the CNTR1 pin can be counted. The TYSC register is  
unused in timer mode. Figure 12.15 shows the TYZMR and PUM registers in timer mode.  
Table 12.7 Timer Mode Specifications  
Item  
Count source  
Count operation  
Specification  
f1, f8, fRING, external signal fed to CNTR1 pin  
Down-count  
When the timer underflows, it reloads the reload register contents before continuing  
counting (When the Timer Y underflows, the contents of the Timer Y primary reload  
register is reloaded.)  
Divide ratio  
1/(n+1)(m+1)  
n: set value in PREY register, m: set value in TYPR register  
Count start condition  
Count stop condition  
Interrupt request  
Write 1(count start) to TYS bit in TYZMR register  
Write 0(count stop) to TYS bit in TYZMR register  
When Timer Y underflows [Timer Y interrupt]  
generation timing  
INT2/CNTR1 pin function  
Programmable I/O port, count source input or INT2 interrupt input  
When the TYCK1 to TYCK0 bits in the TCSS register are set to 00b, 01bor 10b”  
_______  
(Timer Y count source is f1, f8 or fRING), programmable I/O port or INT2 interrupt input  
When the TYCK1 to TYCK0 bits are set to 11b(Timer Y count source is CNTR1  
_______  
input), count source input (INT2 interrupt input)  
Count value can be read out by reading TYPR register.  
Same applies to PREY register.  
Read from timer  
Write to timer(1)  
Value written to TYPR register is written to both reload register and counter or written to  
only reload register. Selected by program.  
Same applies to PREY register.  
Select function  
Event counter function  
When setting TYCK1 to TYCK0 bits to 112, an external signal fed to CNTR1 pin is  
counted.  
_______  
INT2/CNTR1 switching bit  
Active edge of count source is selected by R1EDG bit.  
NOTES:  
1. The IR bit in the TYIC register is set to "1" (interrupt requested) if you write to the TYPR or PREY register while both  
of the following conditions are met.  
Conditions:  
TYWC bit in TYZMR register is "0" (write to reload register and counter simultaneously)  
TYS bit is "1" (count start)  
To write to the TYPR or PREY register in the above state, disable interrupts before writing.  
Rev.1.20 Jan 27, 2006 page 83 of 205  
REJ09B0111-0120  
 复制成功!