English
Language : 

PIC18F97J60 Datasheet, PDF (161/474 Pages) Microchip Technology – 64/80/100-Pin, High-Performance, 1 Mbit Flash Microcontrollers with Ethernet
PIC18F97J60 FAMILY
TABLE 10-19: PORTJ FUNCTIONS
Pin Name
Function
TRIS
Setting
I/O
I/O
Type
Description
RJ0/ALE(1)
RJ0(1)
0
O
DIG LATJ<0> data output.
1
ALE(1)
x
RJ1/OE(1)
RJ1(1)
0
1
OE(1)
x
RJ2/WRL(1)
RJ2(1)
0
I
ST PORTJ<0> data input.
O
DIG External memory interface address latch enable control output; takes
priority over digital I/O.
O
DIG LATJ<1> data output.
I
ST PORTJ<1> data input.
O
DIG External memory interface output enable control output; takes priority
over digital I/O.
O
DIG LATJ<2> data output.
1
WRL(1)
x
RJ3/WRH(1)
RJ3(1)
0
1
WRH(1)
x
I
ST PORTJ<2> data input.
O
DIG External memory bus write low byte control; takes priority over
digital I/O.
O
DIG LATJ<3> data output.
I
ST PORTJ<3> data input.
O
DIG External memory interface write high byte control output; takes priority
over digital I/O.
RJ4/BA0
RJ4
0
1
BA0(2)
x
O
DIG LATJ<4> data output.
I
ST PORTJ<4> data input.
O
DIG External memory interface byte address 0 control output; takes priority
over digital I/O.
RJ5/CE
RJ6/LB(1)
RJ5
0
O
DIG LATJ<5> data output.
1
I
ST PORTJ<5> data input.
CE(2)
x
O
DIG External memory interface chip enable control output; takes priority
over digital I/O.
RJ6(1)
0
O
DIG LATJ<6> data output.
RJ7/UB(1)
1
I
ST PORTJ<6> data input.
LB(1)
x
O
DIG External memory interface lower byte enable control output; takes
priority over digital I/O.
RJ7(1)
0
O
DIG LATJ<7> data output.
1
I
ST PORTJ<7> data input.
UB(1)
x
O
DIG External memory interface upper byte enable control output; takes
priority over digital I/O.
Legend:
Note 1:
2:
O = Output, I = Input, DIG = Digital Output, ST = Schmitt Buffer Input,
x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).
Implemented on 100-pin devices only.
EMB functions are implemented on 100-pin devices only.
TABLE 10-20: SUMMARY OF REGISTERS ASSOCIATED WITH PORTJ
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PORTJ
LATJ
TRISJ
RJ7(1) RJ6(1)
LATJ7(1) LATJ6(1)
TRISJ7(1) TRISJ6(1)
RJ5
LATJ5
TRISJ5
RJ4
LATJ4
TRISJ4
RJ3(1)
LATJ3(1)
TRISJ3(1)
RJ2(1)
LATJ2(1)
TRISJ2(1)
RJ1(1)
LATJ1(1)
TRISJ1(1)
RJ0(1)
LATJ0(1)
TRISJ0(1)
PORTA
RJPU
—
RA5
RA4
RA3
RA2
RA1
RA0
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by PORTJ.
Note 1: Implemented on 100-pin devices only.
Reset
Values
on page
62
61
61
62
© 2006 Microchip Technology Inc.
Advance Information
DS39762A-page 159