English
Language : 

PIC24EP256GU810-I Datasheet, PDF (440/622 Pages) Electronic Film Capacitors, Inc. – 16-Bit Microcontrollers and Digital Signal Controllers with High-Speed PWM, USB and Advanced Analog
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
25.2 Comparator Control Registers
REGISTER 25-1: CMSTAT: COMPARATOR STATUS REGISTER
R/W-0
U-0
U-0
U-0
U-0
R-0
CMSIDL
—
—
—
—
C3EVT
bit 15
R-0
C2EVT
R-0
C1EVT
bit 8
U-0
—
bit 7
U-0
U-0
U-0
U-0
R-0
R-0
R-0
—
—
—
—
C3OUT
C2OUT
C1OUT
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 15
bit 14-11
bit 10
bit 9
bit 8
bit 7-3
bit 2
bit 1
bit 0
CMSIDL: Comparator Stop in Idle Mode bit
1 = Discontinues operation of all comparators when device enters Idle mode
0 = Continues operation of all comparators in Idle mode
Unimplemented: Read as ‘0’
C3EVT: Comparator 3 Event Status bit
1 = Comparator event occurred
0 = Comparator event did not occur
C2EVT: Comparator 2 Event Status bit
1 = Comparator event occurred
0 = Comparator event did not occur
C1EVT: Comparator 1 Event Status bit
1 = Comparator event occurred
0 = Comparator event did not occur
Unimplemented: Read as ‘0’
C3OUT: Comparator 3 Output Status bit
When CPOL = 0:
1 = VIN+ > VIN-
0 = VIN+ < VIN-
When CPOL = 1:
1 = VIN+ < VIN-
0 = VIN+ > VIN-
C2OUT: Comparator 2 Output Status bit
When CPOL = 0:
1 = VIN+ > VIN-
0 = VIN+ < VIN-
When CPOL = 1:
1 = VIN+ < VIN-
0 = VIN+ > VIN-
C1OUT: Comparator 1 Output Status bit
When CPOL = 0:
1 = VIN+ > VIN-
0 = VIN+ < VIN-
When CPOL = 1:
1 = VIN+ < VIN-
0 = VIN+ > VIN-
DS70616G-page 440
 2009-2012 Microchip Technology Inc.