
2000 Microchip Technology Inc.
Advanced Information
DS30475A-page 105
PIC18CXX8
TABLE 8-15:
PORTH FUNCTIONS
TABLE 8-16:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTH
Name
Bit#
Buffer Type
Function
RH0
bit0
ST
Input/output port pin.
RH1
bit1
ST
Input/output port pin.
RH2
bit2
ST
Input/output port pin.
RH3
bit3
ST
Input/output port pin.
RH4/AN12
bit4
ST
Input/output port pin or analog input channel 12.
RH5/AN13
bit5
ST
Input/output port pin or analog input channel 13.
RH6/AN14
bit6
ST
Input/output port pin or analog input channel 14.
RH7/AN15
bit7
ST
Input/output port pin or analog input channel 15.
Legend: ST = Schmitt Trigger input
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
Legend: x = unknown, u = unchanged, - = unimplemented