English
Language : 

PIC18FXX20 Datasheet, PDF (112/366 Pages) Microchip Technology – 64/80-Pin High Performance 1 Mbit Enhanced FLASH Microcontrollers with A/D
PIC18FXX20
TABLE 10-5: PORTC FUNCTIONS
Name
Bit# Buffer Type
Function
RC0/T1OSO/T13CKI bit0
ST
Input/output port pin, Timer1 oscillator output, or Timer1/Timer3
clock input.
RC1/T1OSI/CCP2(1) bit1
ST
Input/output port pin, Timer1 oscillator input, or Capture2 input/
Compare2 output/PWM output (when CCP2MX configuration bit is
disabled).
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
bit2
ST
Input/output port pin or Capture1 input/Compare1 output/
PWM1 output.
bit3
ST
RC3 can also be the synchronous serial clock for both SPI and I2C
modes.
bit4
ST
RC4 can also be the SPI Data In (SPI mode) or Data I/O (I2C mode).
RC5/SDO
bit5
ST
Input/output port pin or Synchronous Serial Port data output.
RC6/TX1/CK1
bit6
ST
Input/output port pin, Addressable USART1 Asynchronous Transmit,
or Addressable USART1 Synchronous Clock.
RC7/RX1/DT1
bit7
ST
Input/output port pin, Addressable USART1 Asynchronous Receive,
or Addressable USART1 Synchronous Data.
Legend: ST = Schmitt Trigger input
Note 1: RB3 is the alternate assignment for CCP2 when CCP2MX is set.
TABLE 10-6: SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
Name Bit 7 Bit 6 Bit 5 Bit 4
PORTC
RC7 RC6 RC5 RC4
LATC
LATC Data Output Register
TRISC PORTC Data Direction Register
Legend: x = unknown, u = unchanged
Bit 3
RC3
Bit 2
RC2
Bit 1
RC1
Bit 0
RC0
Value on
POR, BOR
Value on
all other
RESETS
xxxx xxxx
xxxx xxxx
1111 1111
uuuu uuuu
uuuu uuuu
1111 1111
DS39609A-page 110
Advance Information
 2003 Microchip Technology Inc.