
1996 Microchip Technology Inc.
DS30412C-page 61
PIC17C4X
TABLE 9-7:
PORTD FUNCTIONS
TABLE 9-8:
REGISTERS/BITS ASSOCIATED WITH PORTD
Name
Bit
Buffer Type
Function
RD0/AD8
bit0
TTL
Input/Output or system bus address/data pin.
RD1/AD9
bit1
TTL
Input/Output or system bus address/data pin.
RD2/AD10
bit2
TTL
Input/Output or system bus address/data pin.
RD3/AD11
bit3
TTL
Input/Output or system bus address/data pin.
RD4/AD12
bit4
TTL
Input/Output or system bus address/data pin.
RD5/AD13
bit5
TTL
Input/Output or system bus address/data pin.
RD6/AD14
bit6
TTL
Input/Output or system bus address/data pin.
RD7/AD15
bit7
TTL
Input/Output or system bus address/data pin.
Legend: TTL = TTL input.
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
Power-on
Reset
Value on all
other resets
(Note1)
13h, Bank 1
PORTD
RD7/
AD15
RD6/
AD14
RD5/
AD13
RD4/
AD12
RD3/
AD11
RD2/
AD10
RD1/
AD9
RD0/
AD8
xxxx xxxx
uuuu uuuu
12h, Bank 1
DDRD
Data direction register for PORTD
1111 1111
Legend: x = unknown, u = unchanged.
Note 1:
Other (non power-up) resets include: external reset through MCLR and the Watchdog Timer Reset.