
PIC18C601/801
DS39541A-page 112
Advance Information
2001 Microchip Technology Inc.
TABLE 9-7:
PORTD FUNCTIONS
TABLE 9-8:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
Name
Bit#
Buffer Type
Function
RD0/AD0/A0(2)
bit0
ST/TTL(1)
Input/output port pin or system bus bit 0
RD1/AD1/A1(2)
bit1
ST/TTL(1)
Input/output port pin or system bus bit 1
RD2/AD2/A2(2)
bit2
ST/TTL(1)
Input/output port pin or system bus bit 2
RD3/AD3/A3(2)
bit3
ST/TTL(1)
Input/output port pin or system bus bit 3
RD4/AD4/A4(3)
bit4
ST/TTL(1)
Input/output port pin or system bus bit 4
RD5/AD5/A5(2)
bit5
ST/TTL(1)
Input/output port pin or system bus bit 5
RD6/AD6/A6(2)
bit6
ST/TTL(1)
Input/output port pin or system bus bit 6
RD7/AD7/A7(2)
bit7
ST/TTL(1)
Input/output port pin or system bus bit 7
Legend: ST = Schmitt Trigger input, TTL = TTL input
Note 1: Input buffers are Schmitt Triggers when in I/O mode and TTL buffers when in System Bus mode.
2: RDx is used as a multiplexed address/data bus for PIC18C601 and PIC18C801 in 16-bit mode, and as an
address only for PIC18C801 in 8-bit mode.
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
PORTD
RD7
RD6
RD5
RD4
RD3
RD2
RD1
RD0
xxxx xxxx
uuuu uuuu
LATD
LATD Data Output Register
xxxx xxxx
uuuu uuuu
TRISD
PORTD Data Direction Register
1111 1111
MEMCON
EBDIS
PGRM
WAIT1
WAIT0
—
WM1
WM0
0000 --00
Legend: x = unknown, u = unchanged, - = unimplemented, read as '0'. Shaded cells are not used by PORTD.