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

PIC16F688-I/ST 参数 Datasheet PDF下载

PIC16F688-I/ST图片预览
型号: PIC16F688-I/ST
PDF下载: 下载PDF文件 查看货源
内容描述: 14引脚基于闪存的8位CMOS微控制器采用纳瓦技术 [14-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology]
分类和应用: 闪存微控制器
文件页数/大小: 202 页 / 3832 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F688-I/ST的Datasheet PDF文件第56页浏览型号PIC16F688-I/ST的Datasheet PDF文件第57页浏览型号PIC16F688-I/ST的Datasheet PDF文件第58页浏览型号PIC16F688-I/ST的Datasheet PDF文件第59页浏览型号PIC16F688-I/ST的Datasheet PDF文件第61页浏览型号PIC16F688-I/ST的Datasheet PDF文件第62页浏览型号PIC16F688-I/ST的Datasheet PDF文件第63页浏览型号PIC16F688-I/ST的Datasheet PDF文件第64页  
PIC16F688  
7.3  
Comparator Control  
The CMCON0 register (Register 7-1) provides access  
to the following comparator features:  
• Mode selection  
• Output state  
• Output polarity  
• Input switch  
7.3.1  
COMPARATOR OUTPUT STATE  
Each comparator state can always be read internally  
via the associated CxOUT bit of the CMCON0 register.  
The comparator outputs are directed to the CxOUT  
pins when CM<2:0> = 110. When this mode is  
selected, the TRIS bits for the associated CxOUT pins  
must be cleared to enable the output drivers.  
7.3.2  
COMPARATOR OUTPUT POLARITY  
Inverting the output of a comparator is functionally  
equivalent to swapping the comparator inputs. The  
polarity of a comparator output can be inverted by set-  
ting the CxINV bits of the CMCON0 register. Clearing  
CxINV results in a non-inverted output. A complete  
table showing the output state versus input conditions  
and the polarity bit is shown in Table 7-1.  
TABLE 7-1:  
OUTPUT STATE VS. INPUT  
CONDITIONS  
Input Conditions  
CxINV  
CxOUT  
VIN- > VIN+  
VIN- < VIN+  
VIN- > VIN+  
VIN- < VIN+  
0
0
1
1
0
1
1
0
Note:  
CxOUT refers to both the register bit and  
output pin.  
DS41203D-page 58  
© 2007 Microchip Technology Inc.  
 复制成功!