English
Language : 

PIC16F193X Datasheet, PDF (151/418 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt Technology
PIC16F193X/LF193X
REGISTER 12-2: CMxCON1: COMPARATOR CX CONTROL REGISTER 1
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
U-0
U-0
CxINTP
CxINTN
CxPCH1
CxPCH0
—
—
bit 7
R/W-0/0
CxNCH1
R/W-0/0
CxNCH0
bit 0
Legend:
R = Readable bit
u = bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7
bit 6
bit 5-4
bit 3-2
bit 1-0
CxINTP: Comparator Interrupt on Positive Going Edge Enable bits
1 = The CxIF interrupt flag will be set upon a positive going edge of the CxOUT bit
0 = No interrupt flag will be set on a positive going edge of the CxOUT bit
CxINTN: Comparator Interrupt on Negative Going Edge Enable bits
1 = The CxIF interrupt flag will be set upon a negative going edge of the CxOUT bit
0 = No interrupt flag will be set on a negative going edge of the CxOUT bit
CxPCH<1:0>: Comparator Positive Input Channel Select bits
00 = CxVP connects to CxIN+ pin
01 = CxVP connects to CVDAC
10 = CxVP connects to FVR Voltage Reference
11 = CxVP connects to AVSS
Unimplemented: Read as ‘0’
CxNCH<1:0>: Comparator Negative Input Channel Select bits
00 = CxVN connects to CxIN0- pin
01 = CxVN connects to CxIN1- pin
10 = CxVN connects to CxIN2- pin
11 = CxVN connects to CxIN3- pin
Note 1: Comparator output requires the following three conditions: C2OE = 1, C2ON = 1 and corresponding port
TRIS bit = 0.
REGISTER 12-3: CMOUT: COMPARATOR OUTPUT REGISTER
U-0
—
bit 7
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
R/W-0/0
MC2OUT
R/W-0/0
MC1OUT
bit 0
Legend:
R = Readable bit
u = bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-2
bit 1
bit 0
Unimplemented: Read as ‘0’
MC2OUT: Mirror Copy of C2OUT bit
MC1OUT: Mirror Copy of C1OUT bit
© 2008 Microchip Technology Inc.
Preliminary
DS41364A-page 149