PIC18F87K22-I/PTRSL Microchip Technology Inc., PIC18F87K22-I/PTRSL Datasheet - Page 357

no-image

PIC18F87K22-I/PTRSL

Manufacturer Part Number
PIC18F87K22-I/PTRSL
Description
128kB Flash, 4kB RAM, 1kB EE, nanoWatt XLP, GP, 80 TQFP 12x12x1mm TRAY
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F87K22-I/PTRSL

A/d Inputs
24-Channel, 12-Bit
Comparators
3
Cpu Speed
16 MIPS
Eeprom Memory
0 Bytes
Input Output
69
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
80-pin TQFP
Programmable Memory
128K Bytes
Ram Size
3.8K Bytes
Speed
64 MHz
Temperature Range
–40 to 125 °C
Timers
6-8-bit, 5-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F87K22-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
The ANCONx registers are used to configure the
operation of the I/O pin associated with each analog
channel. Clearing an ANSELx bit configures the
corresponding pin (ANx) to operate as a digital only I/O.
Setting a bit configures the pin to operate as an analog
input for either the A/D Converter or the comparator
module, with all digital peripherals disabled and digital
inputs read as ‘ 0 ’.
REGISTER 23-8:
REGISTER 23-9:
 2011 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-0
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-0
Note 1:
ANSEL15
ANSEL7
R/W-1
R/W-1
(1)
AN15 through AN12 and AN20 to AN23 are implemented only on 80-pin devices. For 64-pin devices, the
corresponding ANSELx bits are still implemented for these channels, but have no effect.
ANSEL<7:0>: Analog Port Configuration bits (AN7 and AN0)
1 = Pin configured as an analog channel; digital input is disabled and any inputs read as ‘ 0 ’
0 = Pin configured as a digital port
ANSEL<15:8>: Analog Port Configuration bits (AN15 through AN8)
1 = Pin configured as an analog channel, digital input is disabled and any inputs read as ‘ 0 ’
0 = Pin configured as a digital port
ANSEL14
ANSEL6
R/W-1
R/W-1
ANCON0: A/D PORT CONFIGURATION REGISTER 0
ANCON1: A/D PORT CONFIGURATION REGISTER 1
(1)
W = Writable bit
‘1’ = Bit is set
W = Writable bit
‘1’ = Bit is set
ANSEL13
ANSEL5
R/W-1
R/W-1
(1)
ANSEL12
ANSEL4
R/W-1
R/W-1
(1)
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
PIC18F87K22 FAMILY
ANSEL11
ANSEL3
R/W-1
R/W-1
As a rule, I/O pins that are multiplexed with analog
inputs default to analog operation on any device Reset.
ANSEL10
ANSEL2
R/W-1
R/W-1
x = Bit is unknown
x = Bit is unknown
ANSEL1
ANSEL9
R/W-1
R/W-1
DS39960C-page 357
ANSEL0
ANSEL8
R/W-1
R/W-1
bit 0
bit 0

Related parts for PIC18F87K22-I/PTRSL