PIC18F25J11-I/PT MICROCHIP [Microchip Technology], PIC18F25J11-I/PT Datasheet - Page 356

no-image

PIC18F25J11-I/PT

Manufacturer Part Number
PIC18F25J11-I/PT
Description
28/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F46J11 FAMILY
REGISTER 21-1:
DS39932C-page 356
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5
bit 4-3
bit 2
bit 1-0
Note 1:
R/W-0
CON
The CMxIF is automatically set any time this mode is selected and must be cleared by the application after
the initial configuration.
CON: Comparator Enable bit
1 = Comparator is enabled
0 = Comparator is disabled
COE: Comparator Output Enable bit
1 = Comparator output is present on the CxOUT pin (assigned in PPS module)
0 = Comparator output is internal only
CPOL: Comparator Output Polarity Select bit
1 = Comparator output is inverted
0 = Comparator output is not inverted
EVPOL<1:0>: Interrupt Polarity Select bits
11 = Interrupt generation on any change of the output
10 = Interrupt generation only on high-to-low transition of the output
01 = Interrupt generation only on low-to-high transition of the output
00 = Interrupt generation is disabled
CREF: Comparator Reference Select bit (non-inverting input)
1 = Non-inverting input connects to internal CV
0 = Non-inverting input connects to CxINA pin
CCH<1:0>: Comparator Channel Select bits
11 = Inverting input of comparator connects to V
10 = For CM1CON, inverting input of comparator connects to C2INB pin; for CM2CON, reserved
01 = Reserved
00 = Inverting input of comparator connects to CxINB pin
R/W-0
COE
CMxCON: COMPARATOR CONTROL x REGISTER (ACCESS FD2h/FD1h)
W = Writable bit
‘1’ = Bit is set
R/W-0
CPOL
EVPOL1
R/W-1
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
EVPOL0
REF
R/W-1
IRV
voltage
(1)
R/W-1
CREF
© 2009 Microchip Technology Inc.
x = Bit is unknown
R/W-1
CCH1
R/W-1
CCH0
bit 0

Related parts for PIC18F25J11-I/PT