Datasheet

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