English
Language : 

PIC18F44J50-I Datasheet, PDF (142/562 Pages) Microchip Technology – 28/44-Pin, Low-Power, High-Performance USB Microcontrollers
PIC18F46J50 FAMILY
TABLE 10-5: PORTB I/O SUMMARY (CONTINUED)
Pin
Function
TRIS
Setting
I/O
I/O
Type
Description
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.
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 the ANCONx register first.
2: All other pin functions are disabled when ICSP™ or MPLAB® ICD are enabled.
3: This functionality is only available on 44-pin devices.
TABLE 10-6: SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
PORTB
RB7
RB6
RB5
RB4
RB3
RB2
LATB
LATB7
LATB6 LATB5 LATB4 LATB3 LATB2
TRISB
TRISB7 TRISB6 TRISB5 TRISB4 TRISB3 TRISB2
INTCON
GIE/GIEH PEIE/GIEL TMR0IE INT0IE RBIE TMR0IF
INTCON2
RBPU INTEDG0 INTEDG1 INTEDG2 INTEDG3 TMR0IP
INTCON3
INT2IP INT1IP INT3IE INT2IE INT1IE INT3IF
ADCON0
PCFG7 PCFG6 PCFG5 PCFG4 PCFG3 PCFG2
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by PORTB.
RB1
LATB1
TRISB1
INT0IF
INT3IP
INT2IF
PCFG1
Bit 0
RB0
LATB0
TRISB0
RBIF
RBIP
INT1IF
PCFG0
Reset
Values
on Page
92
92
92
89
89
89
90
DS39931D-page 142
 2011 Microchip Technology Inc.