Microchip Technology ARD00385 Data Sheet

Page of 570
 2009-2011 Microchip Technology Inc.
DS39957D-page 391
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
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-5
CMPxOUT<3:1>: 
Comparator x Status bits
If CPOL (CMxCON<5>)= 0 (non-inverted polarity):
= Comparator x’s V
IN
+ > V
IN
-
= Comparator x’s V
IN
+ < V
IN
-
If CPOL = 1 (inverted polarity):
= Comparator x’s V
IN
+ < V
IN
-
= Comparator x’s V
IN
+ > V
IN
-
bit 4-0
Unimplemented:
 Read as ‘0’