Datasheet
PIC18F46J11 FAMILY
DS39932D-page 18 2011 Microchip Technology Inc.
PORTB is a bidirectional I/O port. PORTB can be
software programmed for internal weak pull-ups
on all inputs.
RB0/AN12/INT0/RP3
RB0
AN12
INT0
RP3
21 18
I/O
I
I
I/O
DIG
Analog
ST
DIG
Digital I/O.
Analog input 12.
External interrupt 0.
Remappable peripheral pin 3.
RB1/AN10/RTCC/RP4
RB1
AN10
RTCC
RP4
22 19
I/O
I
O
I/O
DIG
Analog
DIG
DIG
Digital I/O.
Analog input 10.
Real Time Clock Calendar output.
Remappable peripheral pin 4.
RB2/AN8/CTED1/
REFO/RP5
RB2
AN8
CTED1
REFO
RP5
23 20
I/O
I
I
O
I/O
DIG
Analog
ST
DIG
DIG
Digital I/O.
Analog input 8.
CTMU edge 1 input.
Reference output clock.
Remappable peripheral pin 5.
RB3/AN9/CTED2/RP6
RB3
AN9
CTED2
RP6
24 21
I/O
I
I/O
I
DIG
Analog
ST
DIG
Digital I/O.
Analog input 9.
CTMU edge 2 input.
Remappable peripheral pin 6.
RB4/KBI0/RP7
RB4
KBI0
RP7
25 22
I/O
I
I/O
DIG
TTL
DIG
Digital I/O.
Interrupt-on-change pin.
Remappable peripheral pin 7.
RB5/KBI1/RP8
RB5
KBI1
RP8
26 23
I/O
I
I/O
DIG
TTL
DIG
Digital I/O.
Interrupt-on-change pin.
Remappable peripheral pin 8.
TABLE 1-3: PIC18F2XJ11 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number
Pin
Type
Buffer
Type
Description
28-SPDIP/
SSOP/
SOIC
28-QFN
Legend: TTL = TTL compatible input CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels Analog = Analog input
I = Input O = Output
P = Power OD = Open-Drain (no P diode to V
DD)
DIG = Digital output
Note 1: RA7 and RA6 will be disabled if OSC1 and OSC2 are used for the clock function.