Microchip Technology IC PIC MCU PIC18F65J15-I/PT TQFP-64 MCP PIC18F65J15-I/PT Fiche De Données

Codes de produits
PIC18F65J15-I/PT
Page de 410
PIC18F87J10 FAMILY
DS39663F-page 136
© 2009 Microchip Technology Inc.
TABLE 11-10: SUMMARY OF REGISTERS ASSOCIATED WITH PORTD    
    
RD6/AD6/
PSP6/SCK2/
SCL2
RD6
0
O
DIG
LATD<6> data output.
1
I
ST
PORTD<6> data input.
AD6
(2)
x
O
DIG-3
External memory interface, address/data bit 6 output.
(1)
x
I
TTL
External memory interface, data bit 6 input.
(1)
PSP6
x
O
DIG
PSP read output data (LATD<6>); takes priority over port data.
x
I
TTL
PSP write data input.
SCK2
0
O
DIG
SPI clock output (MSSP2 module); takes priority over port data.
1
I
ST
SPI clock input (MSSP2 module).
SCL2
0
O
DIG
I
2
C™ clock output (MSSP2 module); takes priority over port data.
1
I
I
2
C/SMB I
2
C clock input (MSSP2 module); input type depends on module 
setting.
RD7/AD7/
PSP7/SS2
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 output data (LATD<7>); takes priority over port data.
x
I
TTL
PSP write data input.
SS2
x
I
TTL
Slave select input for MSSP (MSSP2 module).
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
LATD
LATD7
LATD6
LATD5
LATD4
LATD3
LATD2
LATD1
LATD0
TRISD
TRISD7
TRISD6
TRISD5
TRISD4
TRISD3
TRISD2
TRISD1
TRISD0
PORTG
RDPU
REPU
RJPU
(1)
RG4
RG3
RG2
RG1
RG0
Legend: Shaded cells are not used by PORTD.
Note 1: Unimplemented on 64-pin devices, read as ‘0’.
TABLE 11-9:
PORTD FUNCTIONS (CONTINUED)
Pin Name
Function
TRIS 
Setting
I/O
I/O Type
Description
Legend:
PWR = Power Supply, O = Output, I = Input, I
2
C™/SMB = I
2
C/SMBus input buffer, ANA = Analog Signal, 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:
Available on 80-pin devices only.