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

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
PIC18(L)F2X/4XK22
REGISTER 18-1:
DS41412D-page 310
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
C1ON
Comparator output requires the following three conditions: C1OE = 1, C1ON = 1 and corresponding port
TRIS bit = 0.
C1ON: Comparator C1 Enable bit
1 = Comparator C1 is enabled
0 = Comparator C1 is disabled
C1OUT: Comparator C1 Output bit
If C1POL = 1 (inverted polarity):
C1OUT = 0 when C1V
C1OUT = 1 when C1V
If C1POL = 0 (non-inverted polarity):
C1OUT = 1 when C1V
C1OUT = 0 when C1V
C1OE: Comparator C1 Output Enable bit
1 = C1OUT is present on the C1OUT pin
0 = C1OUT is internal only
C1POL: Comparator C1 Output Polarity Select bit
1 = C1OUT logic is inverted
0 = C1OUT logic is not inverted
C1SP: Comparator C1 Speed/Power Select bit
1 = C1 operates in normal power, higher speed mode
0 = C1 operates in low-power, low-speed mode
C1R: Comparator C1 Reference Select bit (non-inverting input)
1 = C1V
0 = C1V
C1CH<1:0>: Comparator C1 Channel Select bit
00 = C12IN0- pin of C1 connects to C1V
01 = C12IN1- pin of C1 connects to C1V
10 = C12IN2- pin of C1 connects to C1V
11 = C12IN3- pin of C1 connects to C1V
C1OUT
R-0
CM1CON0: COMPARATOR 1 CONTROL REGISTER
IN
IN
+ connects to C1V
+ connects to C12IN+ pin
W = Writable bit
‘1’ = Bit is set
R/W-0
C1OE
IN
IN
IN
IN
+ > C1V
+ < C1V
+ > C1V
+ < C1V
REF
C1POL
R/W-0
IN
IN
IN
IN
output
Preliminary
-
-
-
-
IN
IN
IN
IN
(1)
-
-
-
-
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
C1SP
R/W-0
C1R
 2010 Microchip Technology Inc.
x = Bit is unknown
R/W-0
C1CH<1:0>
R/W-0
bit 0

Related parts for PIC18LF24K22-I/ML