PIC16HV785 Microchip Technology Inc., PIC16HV785 Datasheet - Page 67

no-image

PIC16HV785

Manufacturer Part Number
PIC16HV785
Description
20-pin Flash-based 8-bit Cmos Microcontroller
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16HV785-E/ML
Manufacturer:
LEGERITY
Quantity:
100
Part Number:
PIC16HV785-E/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-E/SO
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-E/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-I/ML
Manufacturer:
MICROCHIP
Quantity:
12 000
REGISTER 9-1:
© 2006 Microchip Technology Inc.
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1-0
CM1CON0: COMPARATOR C1 CONTROL REGISTER 0 (ADDRESS: 119h)
bit 7
C1ON: Comparator C1 Enable bit
1 = C1 Comparator is enabled
0 = C1 Comparator is disabled
C1OUT: Comparator C1 Output bit
If C1POL = 1 (inverted polarity):
If C1POL = 0 (non-inverted polarity):
C1OE: Comparator C1 Output Enable bit
1 = C1OUT is present on the RA2/AN2/T0CKI/INT/C1OUT pin
0 = C1OUT is internal only
C1POL: Comparator C1 Output Polarity Select bit
1 = C1OUT logic is inverted
0 = C1OUT logic is not inverted
C1SP: Comparator C1 Speed Select bit
1 = C1 operates in normal speed mode
0 = C1 operates in low-power, slow speed mode
C1R: Comparator C1 Reference Select bit (non-inverting input)
1 = C1VP connects to C1V
0 = C1VP connects to RA0/AN0/C1IN+/ICSPDAT
C1CH<1:0>: Comparator C1 Channel Select bits
00 = C1VN of C1 connects to RA1/AN1/C12IN0-/V
01 = C1VN of C1 connects to RC1/AN5/C12IN1-/PH1
10 = C1VN of C1 connects to RC2/AN6/C12IN2-/OP2
11 = C1VN of C1 connects to RC3/AN7/C12IN3-/OP1
Legend:
R = Readable bit
-n = Value at POR
R/W-0
C1ON
Note 1: C1OUT will only drive RA2/AN2/T0CKI/INT/C1OUT if: (C1OE = 1) and (C1ON = 1)
C1OUT = 1, C1VP < C1VN
C1OUT = 0, C1VP > C1VN
C1OUT = 1, C1VP > C1VN
C1OUT = 0, C1VP < C1VN
and (TRISA<2> = 0).
C1OUT
R-0
R/W-0
C1OE
REF
Preliminary
W = Writable bit
‘1’ = Bit is set
output
C1POL
R/W-0
R/W-0
PIC16F785/HV785
C1SP
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
REF
/ICSPCLK
R/W-0
(1)
C1R
x = Bit is unknown
C1CH1
R/W-0
DS41249D-page 65
C1CH0
R/W-0
bit 0

Related parts for PIC16HV785