English
Language : 

PIC32MX440F256H-80I Datasheet, PDF (542/646 Pages) Microchip Technology – 64/100-Pin General Purpose and USB 32-Bit Flash Microcontrollers
PIC32MX3XX/4XX
REGISTER 24-1: CM1CON: COMPARATOR 1 CONTROL REGISTER
r-x
r-x
r-x
r-x
r-x
r-x
—
—
—
—
—
—
bit 31
r-x
r-x
—
—
bit 24
r-x
r-x
r-x
r-x
r-x
r-x
r-x
r-x
—
—
—
—
—
—
—
—
bit 23
bit 16
R/W-0
R/W-0
R/W-0
r-x
r-x
r-x
r-x
R-0
ON
COE
CPOL
—
—
—
—
COUT
bit 15
bit 8
R/W-1
R/W-1
r-x
R/W-0
r-x
EVPOL<1:0>
—
CREF
—
bit 7
r-x
R/W-1
R/W-1
—
CCH<1:0>
bit 0
Legend:
R = Readable bit
U = Unimplemented bit
W = Writable bit
P = Programmable bit
-n = Bit Value at POR: (‘0’, ‘1’, x = Unknown)
r = Reserved bit
bit 31-16
bit 15
bit 14
bit 13
bit 12
bit 11-9
bit 8
bit 7-6
bit 5
Reserved: Write ‘0’; ignore read
ON: Comparator ON bit
1 = Module is enabled. Setting this bit does not affect the other bits in this register.
0 = Module is disabled and does not consume current. Clearing this bit does not affect the other bits
in this register.
COE: Comparator Output Enable bit
1 = Comparator output is driven on the output C1OUT pin
0 = Comparator output is not driven on the output C1OUT pin
CPOL: Comparator Output Inversion bit
1 = Output is inverted
0 = Output is not inverted
Note: Setting this bit will invert the signal to the to the comparator interrupt generator as well. This will
result in an interrupt being generated on the opposite edge from the one selected by EVPOL<1:0>.
Reserved: Write ‘0’
Reserved: Write ‘0’; ignore read
COUT: Comparator Output bit
1 = Output of the comparator is a ‘1’
0 = Output of the comparator is a ‘0’
EVPOL<1:0>: Interrupt Event Polarity Select bits
11 = Comparator interrupt is generated on a low-to-high or high-to-low transition of the comparator
output
10 = Comparator interrupt is generated on a high-to-low transition of the comparator output
01 = Comparator interrupt is generated on a low-to-high transition of the comparator output
00 = Comparator interrupt generation is disabled
Reserved: Write ‘0’; ignore read
DS61143E-page 540
Preliminary
© 2008 Microchip Technology Inc.