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

PIC12F635-I/SN 参数 Datasheet PDF下载

PIC12F635-I/SN图片预览
型号: PIC12F635-I/SN
PDF下载: 下载PDF文件 查看货源
内容描述: 8月14日引脚,基于闪存的8位CMOS微控制器采用纳瓦技术 [8/14-Pin, Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 234 页 / 3856 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC12F635-I/SN的Datasheet PDF文件第79页浏览型号PIC12F635-I/SN的Datasheet PDF文件第80页浏览型号PIC12F635-I/SN的Datasheet PDF文件第81页浏览型号PIC12F635-I/SN的Datasheet PDF文件第82页浏览型号PIC12F635-I/SN的Datasheet PDF文件第84页浏览型号PIC12F635-I/SN的Datasheet PDF文件第85页浏览型号PIC12F635-I/SN的Datasheet PDF文件第86页浏览型号PIC12F635-I/SN的Datasheet PDF文件第87页  
PIC12F635/PIC16F636/639  
7.9  
Comparator Gating Timer1  
This feature can be used to time the duration or inter-  
val of analog events. Clearing the T1GSS bit of the  
CMCON1 register will enable Timer1 to increment  
based on the output of the comparator (or Comparator  
C2 for PIC16F636/639). This requires that Timer1 is  
on and gating is enabled. See Section 6.0 “Timer1  
Module with Gate Control” for details.  
It is recommended to synchronize the comparator with  
Timer1 by setting the CxSYNC bit when the comparator  
is used as the Timer1 gate source. This ensures Timer1  
does not miss an increment if the comparator changes  
during an increment.  
Note:  
References to the comparator in this  
section specifically are referring to  
Comparator C2 on the PIC16F636/639.  
7.10 Synchronizing Comparator Output  
to Timer1  
The comparator (or Comparator C2 for PIC16F636/639)  
output can be synchronized with Timer1 by setting the  
CxSYNC bit of the CMCON1 register. When enabled,  
the comparator output is latched on the falling edge of  
the Timer1 clock source. If a prescaler is used with  
Timer1, the comparator output is latched after the  
prescaling function. To prevent a race condition, the  
comparator output is latched on the falling edge of the  
Timer1 clock source and Timer1 increments on the rising  
edge of its clock source. See the Comparator Block  
Diagram (Figure 7-2) and the Timer1 Block Diagram  
(Figure 6-1) for more information.  
Note:  
References to the comparator in this  
section specifically are referring to  
Comparator C2 on the PIC16F636/639.  
© 2007 Microchip Technology Inc.  
DS41232D-page 81  
 复制成功!