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

HD6473434F16 参数 Datasheet PDF下载

HD6473434F16图片预览
型号: HD6473434F16
PDF下载: 下载PDF文件 查看货源
内容描述: 12伏不能应用于S -掩模模型(单电源规格) ,因为这可能会永久损坏设备。 [12 V must not be applied to the S-mask model (single-power-supply specification), as this may permanently damage the device.]
分类和应用: 外围集成电路微控制器可编程只读存储器时钟
文件页数/大小: 752 页 / 2557 K
品牌: HITACHI [ HITACHI SEMICONDUCTOR ]
 浏览型号HD6473434F16的Datasheet PDF文件第229页浏览型号HD6473434F16的Datasheet PDF文件第230页浏览型号HD6473434F16的Datasheet PDF文件第231页浏览型号HD6473434F16的Datasheet PDF文件第232页浏览型号HD6473434F16的Datasheet PDF文件第234页浏览型号HD6473434F16的Datasheet PDF文件第235页浏览型号HD6473434F16的Datasheet PDF文件第236页浏览型号HD6473434F16的Datasheet PDF文件第237页  
9.4  
Interrupts  
Each channel in the 8-bit timer can generate three types of interrupts: compare-match A and B  
(CMIA and CMIB), and overflow (OVI). Each interrupt can be enabled or disabled by an enable  
bit in TCR. Independent signals are sent to the interrupt controller for each interrupt. Table 9.3  
lists information about these interrupts.  
Table 9.3 8-Bit Timer Interrupts  
Interrupt  
CMIA  
CMIB  
OVI  
Description  
Priority  
Requested by CMFA  
Requested by CMFB  
Requested by OVF  
High  
Low  
9.5  
Sample Application  
In the example below, the 8-bit timer is used to generate a pulse output with a selected duty cycle.  
The control bits are set as follows:  
1. In TCR, CCLR1 is cleared to 0 and CCLR0 is set to 1 so that the timer counter is cleared when  
its value matches the constant in TCORA.  
2. In TCSR, bits OS3 to OS0 are set to 0110, causing the output to change to 1 on compare-match  
A and to 0 on compare-match B.  
With these settings, the 8-bit timer provides output of pulses at a rate determined by TCORA with  
a pulse width determined by TCORB. No software intervention is required.  
TCNT  
H'FF  
Clear counter  
TCORA  
TCORB  
H'00  
TMO pin  
Figure 9.9 Example of Pulse Output  
204  
 复制成功!