English
Language : 

PIC18F87J90 Datasheet, PDF (136/450 Pages) Microchip Technology – 64/80-Pin, High-Performance Microcontrollers with LCD Driver and nanoWatt Technology
PIC18F87J90 FAMILY
TABLE 10-18: PORTH FUNCTIONS
Pin Name
Function
TRIS
Setting
I/O
I/O
Type
Description
RH0/SEG47
RH0
0
O
DIG LATH<0> data output.
1
I
ST PORTH<0> data input.
SEG47
x
O
ANA LCD Segment 47 output; disables all other pin functions.
RH1/SEG46
RH1
0
O
DIG LATH<1> data output.
1
I
ST PORTH<1> data input.
SEG46
x
O
ANA LCD Segment 46 output; disables all other pin functions.
RH2/SEG45
RH2
0
O
DIG LATH<2> data output.
1
I
ST PORTH<2> data input.
SEG45
x
O
ANA LCD Segment 45 output; disables all other pin functions.
RH3/SEG44
RH3
0
O
DIG LATH<3> data output.
1
I
ST PORTH<3> data input.
SEG44
x
O
ANA LCD Segment 44 output; disables all other pin functions.
RH4/SEG40
RH4
0
O
DIG LATH<4> data output.
1
I
ST PORTH<4> data input.
SEG40
x
O
ANA LCD Segment 40 output; disables all other pin functions.
RH5/SEG41
RH5
0
O
DIG LATH<5> data output.
1
I
ST PORTH<5> data input.
SEG41
x
O
ANA LCD Segment 41 output; disables all other pin functions.
RH6/SEG42
RH6
0
O
DIG LATH<6> data output.
1
I
ST PORTH<6> data input.
SEG42
x
O
ANA LCD Segment 42 output; disables all other pin functions.
RH7/SEG43
RH7
0
O
DIG LATH<7> data output.
1
I
ST PORTH<7> data input.
SEG43
x
O
ANA LCD Segment 43 output; disables all other pin functions.
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).
TABLE 10-19: SUMMARY OF REGISTERS ASSOCIATED WITH PORTH
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
PORTH
LATH
TRISH
LCDSE5
RH7
LATH7
TRISH7
SE47
RH6
LATH6
TRISH6
SE46
RH5
LATH5
TRISH5
SE45
RH4
LATH4
TRISH4
SE44
RH3
LATH3
TRISH3
SE43
RH2
LATH2
TRISH2
SE42
RH1
LATH1
TRISH1
SE41
Bit 0
RH0
LATH0
TRISH0
SE40
Reset
Values
on page
62
62
62
61
DS39933D-page 136
 2010 Microchip Technology Inc.