PIC18CXX2
TABLE 8-7:
Name
PORTD FUNCTIONS
Bit#
Buffer Type
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
Function
bit0
RD0/PSP0
RD1/PSP1
RD2/PSP2
RD3/PSP3
RD4/PSP4
RD5/PSP5
RD6/PSP6
RD7/PSP7
Input/output port pin or parallel slave port bit0
Input/output port pin or parallel slave port bit1
Input/output port pin or parallel slave port bit2
Input/output port pin or parallel slave port bit3
Input/output port pin or parallel slave port bit4
Input/output port pin or parallel slave port bit5
Input/output port pin or parallel slave port bit6
Input/output port pin or parallel slave port bit7
bit1
bit2
bit3
bit4
bit5
bit6
bit7
Legend: ST = Schmitt Trigger input, TTL = TTL input
Note 1: Input buffers are Schmitt Triggers when in I/O mode and TTL buffer when in Parallel Slave Port Mode.
TABLE 8-8:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
Value on
POR,
BOR
Value on all
other resets
Name
Bit 7 Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
PORTD
LATD
RD7
RD6
RD5
RD4
RD3
RD2
RD1
RD0
xxxx xxxx
xxxx xxxx
1111 1111
0000 -111
uuuu uuuu
uuuu uuuu
1111 1111
0000 -111
LATD Data Output Register
TRISD
TRISE
PORTD Data Direction Register
IBF
OBF
IBOV
PSPMODE
—
PORTE Data Direction Bits
Legend: x = unknown, u = unchanged, - = unimplemented read as ’0’. Shaded cells are not used by PORTD.
DS39026B-page 86
Preliminary
7/99 Microchip Technology Inc.