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

PIC10F204-I/P 参数 Datasheet PDF下载

PIC10F204-I/P图片预览
型号: PIC10F204-I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 6引脚8位闪存微控制器 [6-Pin, 8-Bit Flash Microcontrollers]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 96 页 / 1447 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号PIC10F204-I/P的Datasheet PDF文件第37页浏览型号PIC10F204-I/P的Datasheet PDF文件第38页浏览型号PIC10F204-I/P的Datasheet PDF文件第39页浏览型号PIC10F204-I/P的Datasheet PDF文件第40页浏览型号PIC10F204-I/P的Datasheet PDF文件第42页浏览型号PIC10F204-I/P的Datasheet PDF文件第43页浏览型号PIC10F204-I/P的Datasheet PDF文件第44页浏览型号PIC10F204-I/P的Datasheet PDF文件第45页  
PIC10F200/202/204/206
8.2
Comparator Operation
8.5
Comparator Output
A single comparator is shown in Figure 8-2 along with
the relationship between the analog input levels and
the digital output. When the analog input at V
IN
+ is less
than the analog input V
IN
-, the output of the comparator
is a digital low level. When the analog input at V
IN
+ is
greater than the analog input V
IN
-, the output of the
comparator is a digital high level. The shaded areas of
the output of the comparator in Figure 8-2 represent
the uncertainty due to input offsets and response time.
See Table 12-1 for Common Mode Voltage.
The comparator output is read through CMCON0
register. This bit is read-only. The comparator output
may also be used internally, see Figure 8-1.
Note:
Analog levels on any pin that is defined as
a digital input may cause the input buffer to
consume more current than is specified.
8.6
Comparator Wake-up Flag
FIGURE 8-2:
Vin+
Vin-
SINGLE COMPARATOR
+
Result
The comparator wake-up flag is set whenever all of the
following conditions are met:
• CWU =
0 (CMCON0<0>)
• CMCON0 has been read to latch the last known
state of the CMPOUT bit (MOVF
CMCON0, W)
• Device is in Sleep
• The output of the comparator has changed state
The wake-up flag may be cleared in software or by
another device Reset.
V
IN
-
V
IN
+
8.7
Comparator Operation During
Sleep
Result
When the comparator is active and the device is placed
in Sleep mode, the comparator remains active. While
the comparator is powered-up, higher Sleep currents
than shown in the power-down current specification will
occur. To minimize power consumption while in Sleep
mode, turn off the comparator before entering Sleep.
8.3
Comparator Reference
An internal reference signal may be used depending on
the comparator operating mode. The analog signal that
is present at V
IN
- is compared to the signal at V
IN
+ and
the digital output of the comparator is adjusted
accordingly (Figure 8-2). Please see Table 12-1 for
internal reference specifications.
8.8
Effects of a Reset
8.4
Comparator Response Time
A Power-on Reset (POR) forces the CMCON0 register
to its Reset state. This forces the Comparator module
to be in the comparator Reset mode. This ensures that
all potential inputs are analog inputs. Device current is
minimized when analog inputs are present at Reset
time. The comparator will be powered-down during the
Reset interval.
Response time is the minimum time, after selecting a
new reference voltage or input source, before the
comparator output is to have a valid level. If the com-
parator inputs are changed, a delay must be used to
allow the comparator to settle to its new state. Please
see Table 12-1 for comparator response time
specifications.
8.9
Analog Input Connection
Considerations
A simplified circuit for an analog input is shown in
digital output, they have reverse biased diodes to V
DD
and V
SS
. The analog input therefore, must be between
V
SS
and V
DD
. 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 kΩ
is
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.
©
2007 Microchip Technology Inc.
DS41239D-page 39