Datasheet

PIC18F46J11 FAMILY
DS39932D-page 140 2011 Microchip Technology Inc.
RB4/PMA1/
KBI0/RP7
RB4 0 O DIG LATB<4> data output; not affected by analog input.
1 I TTL PORTB<4> data input; weak pull-up when RBPU
bit is
cleared. Disabled when analog input enabled.
(1)
PMA1
(3)
0 O DIG Parallel Master Port address.
1 I ST/TTL Parallel Slave Port address input.
KBI0 1 I TTL Interrupt-on-change pin.
RP7 1 I ST Remappable peripheral pin 7 input.
0 O DIG Remappable peripheral pin 7 output.
RB5/PMA0/
KBI1/RP8
RB5 0 O DIG LATB<5> data output.
1 I TTL PORTB<5> data input; weak pull-up when RBPU
bit is
cleared.
PMA0
(3)
0 O DIG Parallel Master Port address.
1 I ST/TTL Parallel Slave Port address input.
KBI1 1 I TTL Interrupt-on-change pin.
RP8 1 I ST Remappable peripheral pin 8 input.
0 O DIG Remappable peripheral pin 8 output.
RB6/KBI2/
PGC/RP9
RB6 0 O DIG LATB<6> data output.
1 I TTL PORTB<6> data input; weak pull-up when RBPU
bit is
cleared.
KBI2 1 I TTL Interrupt-on-change pin.
PGC x I ST Serial execution (ICSP™) clock input for ICSP and ICD
operation.
(2)
RP9 1 I ST Remappable peripheral pin 9 input.
0 O DIG Remappable peripheral pin 9 output.
RB7/KBI3/
PGD/RP10
RB7 0 O DIG LATB<7> data output.
1 I TTL PORTB<7> data input; weak pull-up when RBPU
bit is
cleared.
KBI3 1 I TTL Interrupt-on-change pin.
PGD x O DIG Serial execution data output for ICSP and ICD operation.
(2)
x I ST Serial execution data input for ICSP and ICD operation.
(2)
RP10 1 I ST Remappable peripheral pin 10 input.
0 O ST Remappable peripheral pin 10 output.
TABLE 10-5: PORTB I/O SUMMARY (CONTINUED)
Pin Function
TRIS
Setting
I/O
I/O
Type
Description
Legend: DIG = Digital level output; TTL = TTL input buffer; ST = Schmitt Trigger input buffer; ANA = Analog level
input/output; x = Don’t care (TRIS bit does not affect port direction or is overridden for this option)
Note 1: Pins are configured as analog inputs by default on POR. Using these pins for digital inputs requires setting
the appropriate bits in ANCON1 first.
2: All other pin functions are disabled when ICSP™ or ICD are enabled.
3: This bit is not available on 28-pin devices.