PIC18F24J11 MICROCHIP [Microchip Technology], PIC18F24J11 Datasheet - Page 361

no-image

PIC18F24J11

Manufacturer Part Number
PIC18F24J11
Description
28/44-Pin, Low-Power, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F24J11-I/ML
Manufacturer:
MICROCHIP
Quantity:
49 000
Part Number:
PIC18F24J11-I/SO
Manufacturer:
Microchip Technology
Quantity:
1 960
22.0
The analog comparator module contains two compara-
tors that can be independently configured in a variety of
ways. The inputs can be selected from the analog inputs
and two internal voltage references. The digital outputs
are available at the pin level and can also be read
through the control register. Multiple output and interrupt
event generation is also available.
a generic single comparator from the module.
Key features of the module are:
• Independent comparator control
• Programmable input configuration
• Output to both pin and register levels
• Programmable output polarity
• Independent interrupt generation for each
FIGURE 22-1:
 2011 Microchip Technology Inc.
comparator with configurable interrupt-on-change
CCH<1:0>
CxINB
CV
CxINA
V
IRV
COMPARATOR MODULE
CREF
REF
0
1
0
3
COMPARATOR SIMPLIFIED BLOCK DIAGRAM
Figure 22-1
V
V
IN
IN
-
+
CON
Cx
provides
PIC18F46J11 FAMILY
22.1
The CMxCON registers
and output configuration for each comparator, as well
as the settings for interrupt generation.
The CMSTAT register
put results of the comparators. The bits in this register
are read-only.
EVPOL<4:3>
Interrupt
Polarity
Logic
CPOL
Logic
Registers
COE
(Register
(Register
22-2) provides the out-
22-1) select the input
DS39932D-page 361
CxOUT
CMxIF
COUTx
(CMSTAT<1:0>)

Related parts for PIC18F24J11