Datasheet
PIC18FXX2
DS39564C-page 96 © 2006 Microchip Technology Inc.
TABLE 9-7: PORTD FUNCTIONS
TABLE 9-8: SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
Name Bit# Buffer Type Function
RD0/PSP0 bit0 ST/TTL
(1)
Input/output port pin or parallel slave port bit0.
RD1/PSP1 bit1 ST/TTL
(1)
Input/output port pin or parallel slave port bit1.
RD2/PSP2 bit2 ST/TTL
(1)
Input/output port pin or parallel slave port bit2.
RD3/PSP3 bit3 ST/TTL
(1)
Input/output port pin or parallel slave port bit3.
RD4/PSP4 bit4 ST/TTL
(1)
Input/output port pin or parallel slave port bit4.
RD5/PSP5 bit5 ST/TTL
(1)
Input/output port pin or parallel slave port bit5.
RD6/PSP6 bit6 ST/TTL
(1)
Input/output port pin or parallel slave port bit6.
RD7/PSP7 bit7 ST/TTL
(1)
Input/output port pin or parallel slave port 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.
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 1111 1111
TRISE
IBF OBF IBOV PSPMODE — PORTE Data Direction bits 0000 -111 0000 -111
Legend: x = unknown, u = unchanged, - = unimplemented, read as '0'. Shaded cells are not used by PORTD.