Datasheet

PIC18F6310/6410/8310/8410
DS39635C-page 136 2010 Microchip Technology Inc.
TABLE 11-8: SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
RD7/AD7/PSP7 RD7 0 O DIG LATD<7> data output.
1 I ST PORTD<7> data input.
AD7
(2)
x O DIG External memory interface, Address/Data Bit 7 output
(1)
.
x I TTL External memory interface, Data Bit 7 input
(1)
.
PSP7 x O DIG PSP read data output (LATD<7>); takes priority over port data.
x I TTL PSP write data input.
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Reset
Values
on Page
PORTD RD7 RD6 RD5 RD4 RD3 RD2 RD1 RD0 66
LATD LATD Output Latch Register 66
TRISD PORTD Data Direction Register 66
TABLE 11-7: PORTD FUNCTIONS (CONTINUED)
Pin Name Function
TRIS
Setting
I/O
I/O
Type
Description
Legend: O = Output, I = Input, DIG = Digital Output, ST = Schmitt Buffer Input, TTL = TTL Buffer Input,
x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).
Note 1: External memory interface I/O takes priority over all other digital and PSP I/O.
2: Implemented on 80-pin devices only.