PIC18F45K22-I/P Microchip Technology Inc., PIC18F45K22-I/P Datasheet - Page 151

no-image

PIC18F45K22-I/P

Manufacturer Part Number
PIC18F45K22-I/P
Description
40 PDIP .600in TUBE, 32KB, Flash, 1536bytes-RAM, 8-bit Family, nanoWatt XLP
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F45K22-I/P

A/d Inputs
28-Channel, 10-Bit
Comparators
2
Cpu Speed
16 MIPS
Eeprom Memory
256 Bytes
Input Output
35
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
40-pin PDIP
Programmable Memory
32K Bytes
Ram Size
1.5K Bytes
Speed
64 MHz
Temperature Range
–40 to 125 °C
Timers
3-8-bit, 4-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:
PIC18F45K22-I/P
Manufacturer:
MICROCHIP
Quantity:
3 400
Part Number:
PIC18F45K22-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F45K22-I/PT
Manufacturer:
SST
Quantity:
3 400
Part Number:
PIC18F45K22-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F45K22-I/PT
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC18F45K22-I/PT
0
Company:
Part Number:
PIC18F45K22-I/PT
Quantity:
20 400
TABLE 10-16: CONFIGURATION REGISTERS ASSOCIATED WITH PORTE
10.7
Most port pins are multiplexed with analog functions
such
comparators. When these I/O pins are to be used as
analog inputs it is necessary to disable the digital input
buffer to avoid excessive current caused by improper
biasing of the digital input. Individual control of the
digital input buffers on pins which share analog
functions is provided by the ANSELA, ANSELB,
ANSELC, ANSELD and ANSELE registers. Setting an
ANSx bit high will disable the associated digital input
buffer and cause all reads of that pin to return ‘0’ while
allowing analog functions of that pin to operate
correctly.
The state of the ANSx bits has no affect on digital
output functions. A pin with the associated TRISx bit
clear and ANSx bit set will still operate as a digital
output but the input mode will be analog. This can
cause unexpected behavior when performing read-
modify-write operations on the affected port.
All ANSEL register bits default to ‘1’ upon POR and
BOR, disabling digital inputs for their associated port
pins. All TRIS register bits default to ‘1’ upon POR or
BOR, disabling digital outputs for their associated port
pins. As a result, all port pins that have an ANSEL
register will default to analog inputs upon POR or BOR.
REGISTER 10-1:
 2010 Microchip Technology Inc.
CONFIG3H
CONFIG4L
Legend: — = unimplemented locations, read as ‘0’. Shaded bits are not used for Interrupts.
Note 1:
bit 7
Legend:
R = Readable bit
‘1’ = Bit is set
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-0
Note 1:
Name
R/W-u/x
Rx7
2:
as
Port Analog Control
Can only be changed when in high voltage programming mode.
Register Description for PORTA, PORTB, PORTC and PORTD.
Writes to PORTx are written to corresponding LATx register. Reads from PORTx register is return of I/O
pin values.
the
MCLRE
DEBUG
Rx<7:0>: PORTx I/O bit values
Bit 7
Analog-to-Digital
R/W-u/x
Rx6
PORTX
XINST
Bit 6
W = Writable bit
‘0’ = Bit is cleared
(1)
R/W-u/x
: PORTx REGISTER
Rx5
Converter
P2BMX
Bit 5
(2)
R/W-u/x
Rx4
T3CMX
and
Preliminary
Bit 4
U = Unimplemented bit, read as ‘0’
x = Bit is unknown
HFOFST CCP3MX PBADEN CCP2MX
R/W-u/x
10.8
The output slew rate of each port is programmable to
select either the standard transition rate or a reduced
transition rate of approximately 0.1 times the standard
to minimize EMI. The reduced transition time is the
default slew rate for all ports.
Bit 3
Rx3
PIC18(L)F2X/4XK22
Port Slew Rate Control
LVP
Bit 2
R/W-u/x
(1)
Rx2
Bit 1
R/W-u/x
Rx1
STRVEN
Bit 0
DS41412D-page 151
R/W-u/x
on page
Rx0
Values
Reset
354
355
bit 0

Related parts for PIC18F45K22-I/P