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

PIC12F629-I/SNVAO 参数 Datasheet PDF下载

PIC12F629-I/SNVAO图片预览
型号: PIC12F629-I/SNVAO
PDF下载: 下载PDF文件 查看货源
内容描述: [RISC Microcontroller, 8-Bit, FLASH, 20MHz, CMOS, PDSO8]
分类和应用: 闪存微控制器
文件页数/大小: 136 页 / 1422 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC12F629-I/SNVAO的Datasheet PDF文件第33页浏览型号PIC12F629-I/SNVAO的Datasheet PDF文件第34页浏览型号PIC12F629-I/SNVAO的Datasheet PDF文件第35页浏览型号PIC12F629-I/SNVAO的Datasheet PDF文件第36页浏览型号PIC12F629-I/SNVAO的Datasheet PDF文件第38页浏览型号PIC12F629-I/SNVAO的Datasheet PDF文件第39页浏览型号PIC12F629-I/SNVAO的Datasheet PDF文件第40页浏览型号PIC12F629-I/SNVAO的Datasheet PDF文件第41页  
PIC12F629/675  
The Comparator Control Register (CMCON), shown  
in Register 6-1, contains the bits to control the  
comparator.  
6.0  
COMPARATOR MODULE  
The PIC12F629/675 devices have one analog  
comparator. The inputs to the comparator are  
multiplexed with the GP0 and GP1 pins. There is an  
on-chip Comparator Voltage Reference that can also  
be applied to an input of the comparator. In addition,  
GP2 can be configured as the comparator output.  
REGISTER 6-1:  
CMCON: COMPARATOR CONTROL REGISTER (ADDRESS: 19h)  
U-0  
R-0  
U-0  
R/W-0  
CINV  
R/W-0  
CIS  
R/W-0  
CM2  
R/W-0  
CM1  
R/W-0  
CM0  
COUT  
bit 7  
bit 0  
Legend:  
R = Readable bit  
-n = Value at POR  
W = Writable bit  
‘1’ = Bit is set  
U = Unimplemented bit, read as ‘0’  
‘0’ = Bit is cleared x = Bit is unknown  
bit 7  
bit 6  
Unimplemented: Read as ‘0’  
COUT: Comparator Output bit  
When CINV = 0:  
1= VIN+ > VIN-  
0= VIN+ < VIN-  
When CINV = 1:  
1= VIN+ < VIN-  
0= VIN+ > VIN-  
bit 5  
bit 4  
Unimplemented: Read as ‘0’  
CINV: Comparator Output Inversion bit  
1= Output inverted  
0= Output not inverted  
bit 3  
CIS: Comparator Input Switch bit  
When CM2:CM0 = 110or 101:  
1= VIN- connects to CIN+  
0= VIN- connects to CIN-  
bit 2-0  
CM2:CM0: Comparator Mode bits  
Figure 6-2 shows the Comparator modes and CM2:CM0 bit settings  
2010 Microchip Technology Inc.  
DS41190G-page 37