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

HD6433846XXXH 参数 Datasheet PDF下载

HD6433846XXXH图片预览
型号: HD6433846XXXH
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器\n [Microcontroller ]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 524 页 / 1465 K
品牌: ETC [ ETC ]
 浏览型号HD6433846XXXH的Datasheet PDF文件第212页浏览型号HD6433846XXXH的Datasheet PDF文件第213页浏览型号HD6433846XXXH的Datasheet PDF文件第214页浏览型号HD6433846XXXH的Datasheet PDF文件第215页浏览型号HD6433846XXXH的Datasheet PDF文件第217页浏览型号HD6433846XXXH的Datasheet PDF文件第218页浏览型号HD6433846XXXH的Datasheet PDF文件第219页浏览型号HD6433846XXXH的Datasheet PDF文件第220页  
2. 16-bit output compare register (OCRF)  
8-bit output compare register (OCRFH)  
8-bit output compare register (OCRFL)  
OCRF  
15 14 13 12 11 10  
9
1
8
7
6
1
5
1
4
1
3
1
2
1
1
1
0
1
Bit:  
1
1
1
1
1
1
1
1
Initial value:  
Read/Write:  
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  
OCRFH OCRFL  
OCRF is a 16-bit read/write register composed of the two registers OCRFH and OCRFL. In  
addition to the use of OCRF as a 16-bit register with OCRFH as the upper 8 bits and OCRFL as  
the lower 8 bits, OCRFH and OCRFL can also be used as independent 8-bit registers.  
OCRFH and OCRFL 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.  
OCRFH and OCRFL are each initialized to H'FF upon reset.  
a. 16-bit mode (OCRF)  
When CKSH2 is cleared to 0 in TCRF, OCRF operates as a 16-bit register. OCRF  
contents are constantly compared with TCF, and when both values match, CMFH is set to  
1 in TCSRF. At the same time, IRRTFH is set to 1 in IRR2. If IENTFH in IENR2 is 1 at  
this time, an interrupt request is sent to the CPU.  
Toggle output can be provided from the TMOFH pin by means of compare matches, and  
the output level can be set (high or low) by means of TOLH in TCRF.  
b. 8-bit mode (OCRFH/OCRFL)  
When CKSH2 is set to 1 in TCRF, OCRFH and OCRFL operate as two independent 8-bit  
registers. OCRFH contents are compared with TCFH, and OCRFL contents are with  
TCFL. When the OCRFH (OCRFL) and TCFH (TCFL) values match, CMFH (CMFL) is  
set to 1 in TCSRF. At the same time, IRRTFH (IRRTFL) is set to 1 in IRR2. If IENTFH  
(IENTFL) in IENR2 is 1 at this time, an interrupt request is sent to the CPU.  
Toggle output can be provided from the TMOFH pin (TMOFL pin) by means of compare  
matches, and the output level can be set (high or low) by means of TOLH (TOLL) in  
TCRF.  
201  
 复制成功!