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

PIC16F628-04/SS 参数 Datasheet PDF下载

PIC16F628-04/SS图片预览
型号: PIC16F628-04/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 基于闪存的8位CMOS微控制器 [FLASH-Based 8-Bit CMOS Microcontrollers]
分类和应用: 闪存微控制器
文件页数/大小: 160 页 / 1657 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F628-04/SS的Datasheet PDF文件第54页浏览型号PIC16F628-04/SS的Datasheet PDF文件第55页浏览型号PIC16F628-04/SS的Datasheet PDF文件第56页浏览型号PIC16F628-04/SS的Datasheet PDF文件第57页浏览型号PIC16F628-04/SS的Datasheet PDF文件第59页浏览型号PIC16F628-04/SS的Datasheet PDF文件第60页浏览型号PIC16F628-04/SS的Datasheet PDF文件第61页浏览型号PIC16F628-04/SS的Datasheet PDF文件第62页  
PIC16F62X  
mode is changed, the comparator output level may not  
be valid for the specified mode change delay shown  
in Table 12-2.  
9.1  
Comparator Configuration  
There are eight modes of operation for the  
comparators. The CMCON register is used to select  
the mode. Figure 9-1 shows the eight possible modes.  
The TRISA register controls the data direction of the  
comparator pins for each mode. If the comparator  
Note: Comparator interrupts should be disabled  
during a comparator mode change other-  
wise a false interrupt may occur.  
FIGURE 9-1: COMPARATOR I/O OPERATING MODES  
Comparators Reset (POR Default Value)  
CM2:CM0 = 000  
Comparators Off  
CM2:CM0 = 111  
D
D
Vin-  
A
A
Vin-  
RA0/AN0  
RA0/AN0  
Off (Read as ’0’)  
Off (Read as ’0’)  
C1  
C2  
Off (Read as ’0’)  
Off (Read as ’0’)  
C1  
C2  
Vin+  
Vin+  
RA3/AN3/C10  
RA3/AN3/C10  
A
A
Vin-  
D
D
Vin-  
RA1/AN1  
RA2/AN2  
RA1/AN1  
RA2/AN2  
Vin+  
Vin+  
Four Inputs Multiplexed to Two Comparators  
CM2:CM0 = 010  
Two Independent Comparators  
CM2:CM0 = 100  
A
RA0/AN0  
A
A
Vin-  
CIS = 0  
CIS = 1  
Vin-  
RA0/AN0  
A
RA3/AN3/C10  
C1OUT  
C2OUT  
C1  
Vin+  
C1OUT  
C1  
C2  
Vin+  
RA3/AN3/C10  
A
A
RA1/AN1  
RA2/AN2  
Vin-  
CIS = 0  
CIS = 1  
A
A
Vin-  
RA1/AN1  
RA2/AN2  
C2OUT  
Vin+  
C2  
Vin+  
From Vref Module  
Two Common Reference Comparators  
CM2:CM0 = 011  
Two Common Reference Comparators with Outputs  
CM2:CM0 = 110  
A
Vin-  
RA0/AN0  
A
D
Vin-  
RA0/AN0  
C1OUT  
C1  
Vin+  
D
C1OUT  
C2OUT  
C1  
C2  
RA3/AN3/C10  
Vin+  
RA3/AN3/C10  
A
A
Vin-  
RA1/AN1  
RA2/AN2  
A
A
Vin-  
RA1/AN1  
RA2/AN2  
C2OUT  
C2  
Vin+  
Vin+  
Open Drain  
RA4/T0CKI/C20  
One Independent Comparator  
CM2:CM0 = 101  
Three Inputs Multiplexed to Two Comparators  
CM2:CM0 = 001  
D
D
Vin-  
RA0/AN0  
A
RA0/AN0  
CIS = 0  
CIS = 1  
Vin-  
Off (Read as ’0’)  
C2OUT  
C1  
Vin+  
RA3/AN3/C10  
A
RA3/AN3/C10  
C1OUT  
C2OUT  
C1  
C2  
Vin+  
A
A
Vin-  
RA1/AN1  
RA2/AN2  
A
A
Vin-  
RA1/AN1  
RA2/AN2  
C2  
Vin+  
Vin+  
A = Analog Input, port reads zeros always.  
D = Digital Input.  
CIS (CMCON<3>) is the Comparator Input Switch.  
DS40300B-page 58  
Preliminary  
1999 Microchip Technology Inc.  
 
 复制成功!