Datasheet

2009-2011 Microchip Technology Inc. DS39957D-page 165
PIC18F87K90 FAMILY
TABLE 11-6: SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
RC7/RX1/DT1/
SEG28
RC7 0 O DIG LATC<7> data output.
1 I ST PORTC<7> data input.
RX1 1 I ST Asynchronous serial receive data input (EUSART module).
DT1 1 O DIG Synchronous serial data output (EUSART module); takes priority over port data.
1 I ST Synchronous serial data input (EUSART module); user must configure as an input.
SEG28 1 O ANA LCD Segment 28 output; disables all other pin functions.
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Reset
Values
on Page:
PORTC RC7 RC6 RC5 RC4 RC3 RC2 RC1 RC0 78
LATC LATC7 LATBC6 LATC5 LATCB4 LATC3 LATC2 LATC1 LATC0 78
TRISC TRISC7 TRISC6 TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0 78
LCDSE1
SE15 SE14 SE13 SE12 SE11 SE10 SE09 SE08 83
LCDSE2
SE23 SE22 SE21 SE20 SE19 SE18 SE17 SE16 83
LCDSE3 SE31 SE30 SE29 SE28 SE27 SE26 SE25 SE24 83
LCDSE4 SE39
(1)
SE38
(1)
SE37
(1)
SE36
(1)
SE35
(1)
SE34
(1)
SE33
(1)
SE32 83
ODCON1
SSP1OD CCP2OD CCP1OD SSP2OD 81
Legend: Shaded cells are not used by PORTC.
Note 1: This bit is unimplemented in PIC18F6XK90 devices, read as ‘0’.
TABLE 11-5: PORTC 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, TTL = TTL Buffer Input,
I
2
C = I
2
C Buffer Input, x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).
Note 1: Default assignment for ECCP2 when the CCP2MX Configuration bit is set.