PIC18F2220 MICROCHIP [Microchip Technology], PIC18F2220 Datasheet - Page 108

no-image

PIC18F2220

Manufacturer Part Number
PIC18F2220
Description
28/40/44-Pin High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2220-E/SO
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC18F2220-I/SO
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC18F2220-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F2220T-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC18F2220/2320/4220/4320
TABLE 10-3:
TABLE 10-4:
DS39599C-page 106
PORTB
LATB
TRISB
INTCON
INTCON2
INTCON3
ADCON1
Legend:
RB0/AN12/INT0
RB1/AN10/INT1
RB2/AN8/INT2
RB3/AN9/CCP2
RB4/AN11/KBI0
RB5/KBI1/PGM
RB6/KBI2/PGC
RB7/KBI3/PGD
Legend: TTL = TTL input, ST = Schmitt Trigger input
Note 1:
Name
2:
3:
4:
5:
Name
x = unknown, u = unchanged, q = value depends on condition. Shaded cells are not used by PORTB.
This buffer is a TTL input when configured as digital I/O.
This buffer is a Schmitt Trigger input when configured as the external interrupt.
This buffer is a Schmitt Trigger input when configured as the CCP2 input.
A device configuration bit selects which I/O pin the CCP2 pin is multiplexed on.
This buffer is a Schmitt Trigger input when used in Serial Programming mode.
LATB Data Latch Register
PORTB Data Direction Register
GIE/GIEH PEIE/GIEL TMR0IE
INT2IP
RBPU
Bit 7
RB7
PORTB FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
INTEDG0 INTEDG1 INTEDG2
Bit#
bit 0
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
bit 7
INT1IP
Bit 6
RB6
TTL
TTL
TTL
TTL
TTL/ST
TTL/ST
TTL/ST
VCFG1
Buffer
Bit 5
RB5
(1)
(1)
(1)
(1)
TTL
/ST
/ST
/ST
/ST
(5)
(5)
(5)
(2)
(2)
(2)
(3)
VCFG0
INT0IE
INT2IE
Bit 4
RB4
Input/output pin, analog input or external interrupt input 0.
Internal software programmable weak pull-up.
Input/output pin, analog input or external interrupt input 1.
Internal software programmable weak pull-up.
Input/output pin, analog input or external interrupt input 2.
Internal software programmable weak pull-up.
Input/output pin or analog input. Capture2 input/Compare2 output/
PWM output when CCP2MX configuration bit is set
Internal software programmable weak pull-up.
Input/output pin (with interrupt-on-change) or analog input.
Internal software programmable weak pull-up.
Input/output pin (with interrupt-on-change). Internal software
programmable weak pull-up. Low-voltage ICSP enable pin.
Input/output pin (with interrupt-on-change). Internal software
programmable weak pull-up. Serial programming clock.
Input/output pin (with interrupt-on-change). Internal software
programmable weak pull-up. Serial programming data.
PCFG3
INT1IE
RBIE
Bit 3
RB3
TMR0IF
TMR0IP
PCFG2
Bit 2
RB2
PCFG1
INT0IF
INT2IF
Bit 1
RB1
Function
PCFG0
INT1IF
RBIF
RBIP
Bit 0
RB0
 2003 Microchip Technology Inc.
xxxq qqqq
xxxx xxxx
1111 1111
0000 000x
1111 -1-1
11-0 0-00
--00 0000
POR, BOR
Value on
(4)
.
uuuu uuuu
uuuu uuuu
1111 1111
0000 000u
1111 -1-1
11-0 0-00
--00 0000
Value on
all other
Resets

Related parts for PIC18F2220