PIC18LF24K22-I/ML Microchip Technology Inc., PIC18LF24K22-I/ML Datasheet - Page 311

no-image

PIC18LF24K22-I/ML

Manufacturer Part Number
PIC18LF24K22-I/ML
Description
16KB, FLASH, 768BYTES-RAM, 8-BIT FAMILY, NANOWATT XLP, 28 QFN 6X6MM TUBE
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18LF24K22-I/ML

A/d Inputs
17-Channel, 10-Bit
Comparators
2
Cpu Speed
16 MIPS
Eeprom Memory
0 Bytes
Input Output
24
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin QFN
Programmable Memory
16K Bytes
Ram Size
768 Bytes
Speed
48 MHz
Temperature Range
–40 to 125 °C
Timers
1-8-bit, 3-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
REGISTER 18-2:
 2010 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1-0
Note 1:
R/W-0
C2ON
Comparator output requires the following three conditions: C2OE = 1, C2ON = 1 and corresponding port
TRIS bit = 0.
C2ON: Comparator C2 Enable bit
1 = Comparator C2 is enabled
0 = Comparator C2 is disabled
C2OUT: Comparator C2 Output bit
If C2POL = 1 (inverted polarity):
C2OUT = 0 when C2V
C2OUT = 1 when C2V
If C2POL = 0 (non-inverted polarity):
C2OUT = 1 when C2V
C2OUT = 0 when C2V
C2OE: Comparator C2 Output Enable bit
1 = C2OUT is present on C2OUT pin
0 = C2OUT is internal only
C2POL: Comparator C2 Output Polarity Select bit
1 = C2OUT logic is inverted
0 = C2OUT logic is not inverted
C2SP: Comparator C2 Speed/Power Select bit
1 = C2 operates in normal power, higher speed mode
0 = C2 operates in low-power, low-speed mode
C2R: Comparator C2 Reference Select bits (non-inverting input)
1 = C2V
0 = C2V
C2CH<1:0>: Comparator C2 Channel Select bits
00 = C12IN0- pin of C2 connects to C2V
01 = C12IN1- pin of C2 connects to C2V
10 = C12IN2- pin of C2 connects to C2V
11 = C12IN3- pin of C2 connects to C2V
C2OUT
R-0
CM2CON: COMPARATOR 2 CONTROL REGISTER
IN
IN
+ connects to C2V
+ connects to C2IN+ pin
W = Writable bit
‘1’ = Bit is set
R/W-0
C2OE
IN
IN
IN
IN
+ > C2V
+ < C2V
+ > C2V
+ < C2V
REF
C2POL
R/W-0
IN
IN
IN
IN
Preliminary
-
-
-
-
(1)
IN
IN
IN
IN
-
-
-
-
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
C2SP
PIC18(L)F2X/4XK22
R/W-0
C2R
x = Bit is unknown
R/W-0
C2CH<1:0>
DS41412D-page 311
R/W-0
bit 0

Related parts for PIC18LF24K22-I/ML