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

68HC705JJ7_1 参数 Datasheet PDF下载

68HC705JJ7_1图片预览
型号: 68HC705JJ7_1
PDF下载: 下载PDF文件 查看货源
内容描述: 常规版本规格 [General Release Specification]
分类和应用:
文件页数/大小: 230 页 / 5548 K
品牌: FREESCALE [ Freescale ]
 浏览型号68HC705JJ7_1的Datasheet PDF文件第161页浏览型号68HC705JJ7_1的Datasheet PDF文件第162页浏览型号68HC705JJ7_1的Datasheet PDF文件第163页浏览型号68HC705JJ7_1的Datasheet PDF文件第164页浏览型号68HC705JJ7_1的Datasheet PDF文件第166页浏览型号68HC705JJ7_1的Datasheet PDF文件第167页浏览型号68HC705JJ7_1的Datasheet PDF文件第168页浏览型号68HC705JJ7_1的Datasheet PDF文件第169页  
Freescale Semiconductor, Inc.  
Programmable Timer  
Output Compare Registers (OCRH and OCRL)  
The planned action on the PB4/AN4/TCMP pin depends on the value  
stored in the OLVL bit in the TCR, and it occurs when the value of the  
16-bit free-running timer counter matches the value in the output  
compare registers shown in Figure 11-9. These registers are read/write  
bits and are unaffected by reset.  
Writing to the OCRH before writing to the OCRL inhibits timer compares  
until the OCRL is written. Reading or writing to the OCRL after reading  
the TCR will clear the output compare flag bit (OCF). The output  
compare OLVL state will be clocked to its output latch regardless of the  
state of the OCF.  
$0016  
Read:  
Write:  
Reset:  
Bit 7  
6
5
4
3
2
1
9
Bit 0  
Bit 8  
Bit 15  
14  
13  
12  
11  
10  
Unaffected by Reset  
$0017  
Read:  
Write:  
Reset:  
Bit 7  
Bit 7  
6
6
5
5
4
4
3
3
2
2
1
1
Bit 0  
Bit 0  
Unaffected by Reset  
Figure 11-9. Output Compare Registers (OCRH and OCRL)  
To prevent OCF from being set between the time it is read and the time  
the output compare registers are updated, use the following procedure:  
1. Disable interrupts by setting the I bit in the condition code register.  
2. Write to the OCRH. Compares are now inhibited until OCRL is  
written.  
3. Read the TSR to arm the OCF for clearing.  
4. Enable the output compare registers by writing to the OCRL. This  
also clears the OCF flag bit in the TSR.  
5. Enable interrupts by clearing the I bit in the condition code  
register.  
MC68HC705JJ7/MC68HC705JP7 Rev. 3.0  
General Release Specification  
Programmable Timer  
For More Information On This Product,  
Go to: www.freescale.com  
 
 复制成功!