English
Language : 

PIC18F87K90 Datasheet, PDF (389/566 Pages) Microchip Technology – 64/80-Pin, High-Performance Microcontrollers with LCD Driver and nanoWatt XLP Technology
PIC18F87K90 FAMILY
REGISTER 24-2: CMSTAT: COMPARATOR STATUS REGISTER
R-1
R-1
R-1
U-0
U-0
U-0
U-0
U-0
CMP3OUT CMP2OUT CMP1OUT
—
—
—
—
—
bit 7
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-5
bit 4-0
CMPxOUT<3:1>: Comparator x Status bits
If CPOL (CMxCON<5>)= 0 (non-inverted polarity):
1 = Comparator x’s VIN+ > VIN-
0 = Comparator x’s VIN+ < VIN-
If CPOL = 1 (inverted polarity):
1 = Comparator x’s VIN+ < VIN-
0 = Comparator x’s VIN+ > VIN-
Unimplemented: Read as ‘0’
 2010 Microchip Technology Inc.
Preliminary
DS39957B-page 389