Datasheet
2009-2011 Microchip Technology Inc. DS39957D-page 179
PIC18F87K90 FAMILY
TABLE 11-17: SUMMARY OF REGISTERS ASSOCIATED WITH PORTH
RH6/SEG42/
CCP7/P1C/
AN14/C1INC
RH6 0 O DIG LATH<6> data output.
1 I ST PORTH<6> data input.
SEG42 1 O ANA LCD Segment 42 output; disables all other pin functions.
CCP7 0 O DIG CCP7 compare/PWM output; takes priority over port data.
1 I ST CCP7 capture input.
P1C 0 O — ECCP1 PWM Output C. May be configured for tri-state during
Enhanced PWM.
AN14 1 I ANA A/D Input Channel 14. Default input configuration on POR; does not
affect digital input.
C1INC x I ANA Comparator 1 Input C.
RH7/SEG43/
CCP6/P1B/
AN15
RH7 0 O DIG LATH<7> data output.
1 I ST PORTH<7> data input.
SEG43 1 O ANA LCD Segment 43 output; disables all other pin functions.
CCP6 0 O DIG CCP6 compare/PWM output; takes priority over port data.
1 I ST CCP6 capture input.
P1B 0 O — ECCP1 PWM Output B. May be configured for tri-state during
Enhanced PWM.
AN15 1 I ANA A/D Input Channel 15. Default input configuration on POR; does not
affect digital input.
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Reset
Values
on Page:
PORTH RH7 RH6 RH5 RH4 RH3 RH2 RH1 RH0 78
LATH LATH7 LATH6 LATH5 LATH4 LATH3 LATH2 LATH1 LATH0 78
TRISH TRISH7 TRISH6 TRISH5 TRISH4 TRISH3 TRISH2 TRISH1 TRISH0 78
LCDSE5 SE47 SE46 SE45 SE44 SE43 SE42 SE41 SE40 83
ANCON1 ANSEL15 ANSEL14 ANSEL13 ANSEL12
ANSEL11 ANSEL10 ANSEL9 ANSEL8 81
ANCON2 ANSEL23 ANSEL22 ANSEL21 ANSEL20 ANSEL19 ANSEL18 ANSEL17 ANSEL16 81
ODCON2
CCP10OD
(1)
CCP9OD
(1)
CCP8OD CCP7OD CCP6OD CCP5OD CCP4OD CCP3OD 81
Note 1: Unimplemented in devices with a program memory of 32 Kbytes (PIC18FX5K90).
TABLE 11-16: PORTH FUNCTIONS (CONTINUED)
Pin Name Function
TRIS
Setting
I/O
I/O
Type
Description
Legend: O = Output, I = Input, ANA = Analog Signal, DIG = Digital Output, ST = Schmitt Trigger Buffer Input,
x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).