PIC18F6525/6621/8525/8621
TABLE 10-17: PORTJ FUNCTIONS
Name Bit# Buffer Type
RJ0/ALE
Function
bit 0
bit 1
bit 2
bit 3
bit 4
bit 5
bit 6
bit 7
ST
ST
ST
ST
ST
ST
ST
ST
Input/output port pin or address latch enable control for external
memory interface.
RJ1/OE
RJ2/WRL
RJ3/WRH
RJ4/BA0
RJ5/CE
RJ6/LB
Input/output port pin or output enable control for external memory
interface.
Input/output port pin or write low byte control for external memory
interface.
Input/output port pin or write high byte control for external memory
interface.
Input/output port pin or byte address 0 control for external memory
interface.
Input/output port pin or chip enable control for external memory
interface.
Input/output port pin or lower byte select control for external
memory interface.
RJ7/UB
Input/output port pin or upper byte select control for external
memory interface.
Legend: ST = Schmitt Trigger input
TABLE 10-18: SUMMARY OF REGISTERS ASSOCIATED WITH PORTJ
Value on
all other
Resets
Value on
POR, BOR
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PORTJ
LATJ
Read PORTJ pin/Write PORTJ Data Latch
LATJ Data Output Register
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
TRISJ
Data Direction Control Register for PORTJ
Legend: x= unknown, u= unchanged
2005 Microchip Technology Inc.
DS39612B-page 127