欢迎访问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文件第35页浏览型号PIC10F204-I/P的Datasheet PDF文件第36页浏览型号PIC10F204-I/P的Datasheet PDF文件第37页浏览型号PIC10F204-I/P的Datasheet PDF文件第38页浏览型号PIC10F204-I/P的Datasheet PDF文件第40页浏览型号PIC10F204-I/P的Datasheet PDF文件第41页浏览型号PIC10F204-I/P的Datasheet PDF文件第42页浏览型号PIC10F204-I/P的Datasheet PDF文件第43页  
PIC10F200/202/204/206
8.0
COMPARATOR MODULE
The comparator module contains one Analog
comparator. The inputs to the comparator are
multiplexed with GP0 and GP1 pins. The output of the
comparator can be placed on GP2.
The CMCON0 register, shown in Register 8-1, controls
the comparator operation. A block diagram of the
comparator is shown in Figure 8-1.
REGISTER 8-1:
R-1
CMPOUT
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
CMCON0 REGISTER
R/W-1
COUTEN
R/W-1
POL
R/W-1
CMPT0CS
R/W-1
CMPON
R/W-1
CNREF
R/W-1
CPREF
R/W-1
CWU
bit 0
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
CMPOUT:
Comparator Output bit
1
= V
IN
+ > V
IN
-
0
= V
IN
+ < V
IN
-
COUTEN:
Comparator Output Enable bit
(1, 2)
1
= Output of comparator is NOT placed on the COUT pin
0
= Output of comparator is placed in the COUT pin
POL:
Comparator Output Polarity bit
(2)
1
= Output of comparator not inverted
0
= Output of comparator inverted
CMPT0CS:
Comparator TMR0 Clock Source bit
(2)
1
= TMR0 clock source selected by T0CS control bit
0
= Comparator output used as TMR0 clock source
CMPON:
Comparator Enable bit
1
= Comparator is on
0
= Comparator is off
CNREF:
Comparator Negative Reference Select bit
(2)
1
= CIN- pin
(3)
0
= Internal voltage reference
CPREF:
Comparator Positive Reference Select bit
(2)
1
= CIN+ pin
(3)
0
= CIN- pin
(3)
CWU:
Comparator Wake-up on Change Enable bit
(2)
1
= Wake-up on comparator change is disabled
0
= Wake-up on comparator change is enabled.
Overrides T0CS bit for TRIS control of GP2.
When the comparator is turned on, these control bits assert themselves. When the comparator is off, these
bits have no effect on the device operation and the other control registers have precedence.
PIC10F204/206 only.
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Note 1:
2:
3:
©
2007 Microchip Technology Inc.
DS41239D-page 37