PIC16CE62X
8.0
COMPARATOR MODULE
The comparator module contains two analog
comparators. The inputs to the comparators are
multiplexed with the RA0 through RA3 pins. The
on-chip Voltage Reference (Section 9.0) can also be an
input to the comparators.
The CMCON register, shown in Figure 8-1, controls the
comparator input and output multiplexers. A block
diagram of the comparator is shown in Figure 8-2.
FIGURE 8-1:
R-0
C2OUT
bit7
CMCON REGISTER (ADDRESS 1Fh)
U-0
U-0
R/W-0
CIS
R/W-0
CM2
R/W-0
CM1
R/W-0
CM0
bit0
R-0
C1OUT
R = Readable bit
W = Writable bit
U = Unimplemented bit,
read as 鈥?鈥?/div>
- n =Value at POR reset
bit 7:
C2OUT:
Comparator 2 output
1 = C2 V
IN
+ > C2 V
IN
鈥?/div>
0 = C2 V
IN
+ < C2 V
IN
鈥?/div>
C1OUT:
Comparator 1 output
1 = C1 V
IN
+ > C1 V
IN
鈥?/div>
0 = C1 V
IN
+ < C1 V
IN
鈥?/div>
CIS:
Comparator Input Switch
When CM<2:0>: = 001:
1 = C1 V
IN
鈥?connects to RA3
0 = C1 V
IN
鈥?connects to RA0
When CM<2:0> = 010:
1 = C1 V
IN
鈥?connects to RA3
C2 V
IN
鈥?connects to RA2
0 = C1 V
IN
鈥?connects to RA0
C2 V
IN
鈥?connects to RA1
bit 6:
bit 5-4:
Unimplemented:
Read as '0'
bit 3:
bit 2-0:
CM<2:0>:
Comparator mode
Figure 8-2.
漏
1998 Microchip Technology Inc.
Preliminary
DS40182A-page 41
prev
next
PIC16CE625相关型号PDF文件下载
-
型号
版本
描述
厂商
下载
-
英文版
8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
-
英文版
8-Pin, 8-Bit CMOS Microcontroller with EEPROM Data Memory
MICROCHIP ...
-
英文版
8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEP...
MICROCHIP ...
-
英文版
8-Pin, 8-Bit CMOS Microcontrollers
MICROCHIP ...
-
英文版
EPROM Memory Programming Specification
MICROCHIP ...
-
英文版
8-Pin FLASH-Based 8-Bit CMOS Microcontrollers
MICROCHIP ...
-
英文版
Microcontroller
-
英文版
Microcontroller
-
英文版
Microcontroller
ETC
-
英文版
EPROM-Based 8-Bit CMOS Microcontroller
-
英文版
8-Pin, 8-Bit CMOS Microcontrollers
-
英文版
8-Pin, 8-Bit CMOS Microcontrollers
MICROCHIP ...
-
英文版
ETC
-
英文版
EPROM Memory Programming Specification
-
英文版
EPROM Memory Programming Specification
MICROCHIP ...
-
英文版
28-Pin Programmable Mixed Signal Controller
-
英文版
EPROM Memory Programming Specification
-
英文版
Microcontroller
ETC
-
英文版
Microcontroller
ETC
-
英文版
EPROM/ROM-Based 8-Bit CMOS Microcontroller Series