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

PIC12F683-I/SNG 参数 Datasheet PDF下载

PIC12F683-I/SNG图片预览
型号: PIC12F683-I/SNG
PDF下载: 下载PDF文件 查看货源
内容描述: [8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO8, 3.90 MM, PLASTIC, SOIC-8]
分类和应用: 闪存微控制器
文件页数/大小: 148 页 / 2282 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC12F683-I/SNG的Datasheet PDF文件第46页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第47页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第48页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第49页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第51页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第52页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第53页浏览型号PIC12F683-I/SNG的Datasheet PDF文件第54页  
PIC12F683  
FIGURE 8-1:  
SINGLE COMPARATOR  
8.1  
Comparator Operation  
A single comparator is shown in Figure 8-1 along with  
the relationship between the analog input levels and  
the digital output. When the analog input at VIN+ is less  
than the analog input VIN-, the output of the comparator  
is a digital low level. When the analog input at VIN+ is  
greater than the analog input VIN-, the output of the  
comparator is a digital high level. The shaded areas of  
the output of the comparator in Figure 8-1 represent  
the uncertainty due to input offsets and response time.  
VIN+  
VIN-  
+
Output  
VIN-  
VIN+  
Note:  
To use CIN+ and CIN- pins as analog  
inputs, the appropriate bits must be  
programmed in the CMCON0 (19h)  
register.  
Output  
The polarity of the comparator output can be inverted  
by setting the CINV bit (CMCON0<4>). Clearing CINV  
results in a non-inverted output. A complete table  
showing the output state versus input conditions and  
the polarity bit is shown in Table 8-1.  
8.2  
Analog Input Connection  
Considerations  
A simplified circuit for an analog input is shown in  
Figure 8-2. Since the analog pins are connected to a  
digital output, they have reverse biased diodes to VDD  
and VSS. The analog input, therefore, must be between  
VSS and VDD. If the input voltage deviates from this  
range by more than 0.6V in either direction, one of the  
diodes is forward biased and a latch-up may occur. A  
maximum source impedance of 10 kis recommended  
for the analog sources. Any external component  
connected to an analog input pin, such as a capacitor  
or a Zener diode, should have very little leakage  
current.  
TABLE 8-1:  
OUTPUT STATE VS. INPUT  
CONDITIONS  
Input Conditions  
CINV  
COUT  
VIN- > VIN+  
VIN- < VIN+  
VIN- > VIN+  
VIN- < VIN+  
0
0
1
1
0
1
1
0
Note 1: When reading the GPIO register, all pins  
configured as analog inputs will read as a  
0’. Pins configured as digital inputs will  
convert as analog inputs according to the  
input specification.  
2: Analog levels on any pin defined as a  
digital input may cause the input buffer to  
consume more current than is specified.  
FIGURE 8-2:  
ANALOG INPUT MODEL  
VDD  
VT = 0.6V  
RIC  
Rs < 10K  
AIN  
ILEAKAGE  
±500 nA  
CPIN  
5 pF  
VA  
VT = 0.6V  
Vss  
Legend:  
CPIN  
VT  
= Input Capacitance  
= Threshold Voltage  
ILEAKAGE = Leakage Current at the pin due to various junctions  
RIC  
RS  
VA  
= Interconnect Resistance  
= Source Impedance  
= Analog Voltage  
DS41211B-page 48  
Preliminary  
2004 Microchip Technology Inc.  
 复制成功!