Datasheet

PIC12(L)F1822/PIC16(L)F1823
DS41413C-page 166 2010-2012 Microchip Technology Inc.
FIGURE 19-2: COMPARATOR 1 MODULE SIMPLIFIED BLOCK DIAGRAM (PIC12(L)F1822)
Note 1: When C1ON = 0, the Comparator will produce a ‘0 at the output.
2: When C1ON = 0, all multiplexer inputs are disconnected.
3: Output of comparator can be frozen during debugging.
MUX
Cx
(3)
0
1
C1ON
(1)
CxNCH<1:0>
2
0
1
C1PCH<1:0>
C1IN1-
C1IN+
MUX
-
+
C1VN
C1VP
C1OUT
To ECCP PWM Logic
Q1
D
EN
Q
C1POL
MC1OUT
Set C1IF
0
1
C1SYNC
C1OE
C1OUT
DQ
SYNCC1OUT
DAC
FVR Buffer2
C1IN0-
2
C1SP
C1HYS
det
Interrupt
det
Interrupt
C1INTN
C1INTP
To D a ta B us
2
3
TRIS bit
C1ON
(2)
(2)
(from Timer1)
T1CLK
To Timer1 or SR Latch
VSS