欢迎访问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文件第114页浏览型号R5F21134DFP的Datasheet PDF文件第115页浏览型号R5F21134DFP的Datasheet PDF文件第116页浏览型号R5F21134DFP的Datasheet PDF文件第117页浏览型号R5F21134DFP的Datasheet PDF文件第119页浏览型号R5F21134DFP的Datasheet PDF文件第120页浏览型号R5F21134DFP的Datasheet PDF文件第121页浏览型号R5F21134DFP的Datasheet PDF文件第122页  
R8C/13 Group  
12.4 Timer (Timer C)  
12.4.2 Output Compare Mode  
In this mode, an interrupt request is generated when the value of TC register matches the value of  
TM0 or TM1 register. Table 12.14 shows specifications in output compare mode. Figure 12.34 shows  
an operation example of output compare mode.  
Table 12.14 Output Compare Mode Specifications  
Item  
Count source  
Count operation  
Specification  
f1, f8, f32, fRING-fast  
Count up  
Value in TC register is set to 000016when a counting stops  
TCC00 bit in TCC0 register is set to 1(count start)  
Count start condition  
Count stop condition  
Waveform output start  
condition  
TCC00 bit in TCC0 register is set to 0(count stop)  
When 1(CMP output enabled) is written to TCOUT0 to TCOUT5 bits.(2)  
Waveform output stop  
condition  
When 0(CMP output disabled) is written to TCOUT0 to TCOUT5 bits.  
I
nterrupt request  
When a match occurs in compare circuit 0 [compare 0 interrupt]  
When a match occurs in compare circuit 1 [compare 1 interrupt]  
generation timing  
When Time C overflows [Timer C interrupt]  
______  
_______  
INT3/TCIN pin function  
Programmable I/O port or INT3 interrupt input  
P10 to P12 pins and P30 to Programmable I/O port or CMP output(2)  
P32 pins function  
Counter value reset timing When TCC00 bit in TCC0 register is set to 0(count stop)  
Read from timer(1)  
Value in compare register can be read out by reading TM0 register and TM1 register.  
Count value can be read out by reading TC register.  
Write to timer(1)  
Write to TC register is disabled.  
Values written to TM0 register and TM1 register are stored in compare register at the  
following timings:  
- When TM0 and TM1 registers are written if TCC00 bit is 0(count stop)  
- When counter overflows if TCC00 bit is 1(in counting) and TCC12 bit in TCC1  
register is 0(free-run)  
- When compare 1 matches counter if TCC00 bit is 1and TCC12 bit is 1(set TC  
register to 000016at compare 1 match)  
Select function  
Timer C counter reload select function  
Counter value in TC register at match occurrence in compare circuit 1 is set or not set  
to 000016selected by TCC12 bit in TCC1 register.  
Output level at match occurrence in compare circuit 0 can be selected by TCC15 to  
TCC14 bits in TCC1 register. Similarly, output level at match occurrence in compare  
circuit 1 can be selected by TCC17 to TCC16 bits in TCC1 register.  
Whether output is reversed or not can be selected by TCOUT1 to TCOUT0 bits in  
TCOUT register.  
NOTES:  
1. TC, TM0, and TM1 registers should be accessed in 16-bit units.  
2. When the corresponding port data is 1, the waveform is output depending on the setting of the registers TCC1 and  
TCOUT. When the corresponding port data is 0, the fixed level is output (refer to Figure 12.30 CMP Waveform  
Output Unit.  
Rev.1.20 Jan 27, 2006 page 107 of 205  
REJ09B0111-0120  
 复制成功!