English
Language : 

PIC18F87J11_12 Datasheet, PDF (321/466 Pages) Microchip Technology – 64/80-Pin, High-Performance, 1-Mbit Flash Microcontrollers
PIC18F87J11 FAMILY
REGISTER 23-2: CMSTAT: COMPARATOR OUTPUT STATUS REGISTER
U-0
U-0
U-0
U-0
U-0
U-0
—
—
—
—
—
—
bit 7
R-1
COUT2
R-1
COUT1
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-2
bit 1-0
Unimplemented: Read as ‘0’
COUT<2:1>: Comparator x Status bits
If CPOL = 0 (non-inverted polarity):
1 = Comparator’s VIN+ > VIN-
0 = Comparator’s VIN+ < VIN-
If CPOL = 1 (inverted polarity):
1 = Comparator VIN+ < VIN-
0 = Comparator VIN+ > VIN-
 2007-2012 Microchip Technology Inc.
DS39778E-page 321