English
Language : 

PIC18FXX20 Datasheet, PDF (115/366 Pages) Microchip Technology – 64/80-Pin High Performance 1 Mbit Enhanced FLASH Microcontrollers with A/D
PIC18FXX20
TABLE 10-7: PORTD FUNCTIONS
Name
Bit# Buffer Type
Function
RD0/PSP0/AD0 bit0
RD1/PSP1/AD1 bit1
RD2/PSP2/AD2 bit2
RD3/PSP3/AD3 bit3
RD4/PSP4/AD4 bit4
RD5/PSP5/AD5 bit5
RD6/PSP6/AD6 bit6
RD7/PSP7/AD7 bit7
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
ST/TTL(1)
Input/output port pin, parallel slave port bit0 or address/data bus bit0.
Input/output port pin, parallel slave port bit1 or address/data bus bit1.
Input/output port pin, parallel slave port bit2 or address/data bus bit2.
Input/output port pin, parallel slave port bit3 or address/data bus bit3.
Input/output port pin, parallel slave port bit4 or address/data bus bit4.
Input/output port pin, parallel slave port bit5 or address/data bus bit5.
Input/output port pin, parallel slave port bit6 or address/data bus bit6.
Input/output port pin, parallel slave port bit7 or address/data bus bit7.
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 or Parallel Slave
Port mode.
TABLE 10-8: SUMMARY OF REGISTERS ASSOCIATED WITH PORTD
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
PSPCON IBF OBF IBOV PSPMODE —
—
—
— 0000 ---- 0000 ----
MEMCON EBDIS — WAIT1 WAIT0
—
— WM1 WM0 0-00 --00 0-00 --00
Legend: x = unknown, u = unchanged, - = unimplemented, read as '0'. Shaded cells are not used by PORTD.
 2003 Microchip Technology Inc.
Advance Information
DS39609A-page 113