
2001 Microchip Technology Inc.
Advance Information
DS39541A-page 123
PIC18C601/801
TABLE 9-15:
PORTH FUNCTIONS
TABLE 9-16:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTH
Name
Bit#
Buffer Type
Function
RH0/A16(1)
bit0
ST
Input/output port pin or Address bit 16 for external memory interface
RH1/A17(1)
bit1
ST
Input/output port pin or Address bit 17 for external memory interface
RH2/A18(1)
bit2
ST
Input/output port pin or Address bit 18 for external memory interface
RH3/A19(1)
bit3
ST
Input/output port pin or Address bit 19 for external memory interface
RH4/AN8(1)
bit4
ST
Input/output port pin or analog input channel 8
RH5/AN9(1)
bit5
ST
Input/output port pin or analog input channel 9
RH6/AN10(1)
bit6
ST
Input/output port pin or analog input channel 10
RH7/AN11(1)
bit7
ST
Input/output port pin or analog input channel 11
Legend: ST = Schmitt Trigger input
Note 1: PORTH is available only on PIC18C801 devices.
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
TRISH
PORTH Data Direction Control Register
1111 1111
PORTH
Read PORTH pin/Write PORTH Data Latch
xxxx xxxx
uuuu uuuu
LATH
Read PORTH Data Latch/Write PORTH Data Latch
xxxx xxxx
uuuu uuuu
ADCON1
—
VCFG1 VCFG0 PCFG3 PCFG2 PCFG1 PCFG0
--00 0000
MEMCON
EBDIS
PGRM
WAIT1
WAIT0
—
WM1
WM0
0000 --00
Legend: x = unknown, u = unchanged, - = unimplemented. Shaded cells are not used by PORTH.