PIC18FXX20
TABLE 10-17: PORTJ FUNCTIONS
Name Bit# Buffer Type
RJ0/ALE
Function
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
ST
ST
ST
ST
ST
ST
ST
ST
Input/output port pin or Address Latch Enable control for external
memory interface.
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
RJ1/OE
RJ2/WRL
RJ3/WRH
RJ4/BA0
RJ5/CE
RJ6/LB
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.
Input/output port pin or Upper Byte Select control for external
memory interface.
RJ7/UB
Legend: ST = Schmitt Trigger input
TABLE 10-18: SUMMARY OF REGISTERS ASSOCIATED WITH PORTJ
Value on
all other
RESETS
Value on
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
POR, BOR
PORTJ
LATJ
TRISJ
Read PORTJ pin/Write PORTJ Data Latch
LATJ Data Output Register
Data Direction Control Register for PORTJ
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
Legend: x= unknown, u= unchanged
2003 Microchip Technology Inc.
Advance Information
DS39609A-page 127