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

HD6433846XXXH 参数 Datasheet PDF下载

HD6433846XXXH图片预览
型号: HD6433846XXXH
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器\n [Microcontroller ]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 524 页 / 1465 K
品牌: ETC [ ETC ]
 浏览型号HD6433846XXXH的Datasheet PDF文件第211页浏览型号HD6433846XXXH的Datasheet PDF文件第212页浏览型号HD6433846XXXH的Datasheet PDF文件第213页浏览型号HD6433846XXXH的Datasheet PDF文件第214页浏览型号HD6433846XXXH的Datasheet PDF文件第216页浏览型号HD6433846XXXH的Datasheet PDF文件第217页浏览型号HD6433846XXXH的Datasheet PDF文件第218页浏览型号HD6433846XXXH的Datasheet PDF文件第219页  
9.4.2  
Register Descriptions  
1. 16-bit timer counter (TCF)  
8-bit timer counter (TCFH)  
8-bit timer counter (TCFL)  
TCF  
Bit:  
15 14 13 12 11 10  
9
0
8
7
6
0
5
0
4
0
3
0
2
0
1
0
0
0
Initial value:  
Read/Write:  
0
0
0
0
0
0
0
0
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W  
TCFH TCFL  
TCF is a 16-bit read/write up-counter configured by cascaded connection of 8-bit timer counters  
TCFH and TCFL. In addition to the use of TCF as a 16-bit counter with TCFH as the upper 8 bits  
and TCFL as the lower 8 bits, TCFH and TCFL can also be used as independent 8-bit counters.  
TCFH and TCFL can be read and written by the CPU, but when they are used in 16-bit mode, data  
transfer to and from the CPU is performed via a temporary register (TEMP). For details of TEMP,  
see 9.4.3, CPU Interface.  
TCFH and TCFL are each initialized to H'00 upon reset.  
a. 16-bit mode (TCF)  
When CKSH2 is cleared to 0 in TCRF, TCF operates as a 16-bit counter. The TCF input  
clock is selected by bits CKSL2 to CKSL0 in TCRF.  
TCF can be cleared in the event of a compare match by means of CCLRH in TCSRF.  
When TCF overflows from H'FFFF to H'0000, OVFH is set to 1 in TCSRF. If OVIEH in  
TCSRF is 1 at this time, IRRTFH is set to 1 in IRR2, and if IENTFH in IENR2 is 1, an  
interrupt request is sent to the CPU.  
b. 8-bit mode (TCFL/TCFH)  
When CKSH2 is set to 1 in TCRF, TCFH and TCFL operate as two independent 8-bit  
counters. The TCFH (TCFL) input clock is selected by bits CKSH2 to CKSH0 (CKSL2 to  
CKSL0) in TCRF.  
TCFH (TCFL) can be cleared in the event of a compare match by means of CCLRH  
(CCLRL) in TCSRF.  
When TCFH (TCFL) overflows from H'FF to H'00, OVFH (OVFL) is set to 1 in TCSRF.  
If OVIEH (OVIEL) in TCSRF is 1 at this time, IRRTFH (IRRTFL) is set to 1 in IRR2, and  
if IENTFH (IENTFL) in IENR2 is 1, an interrupt request is sent to the CPU.  
200  
 复制成功!