PIC16F87X
TABLE 3-5:
Name
PORTC FUNCTIONS
Bit# Buffer Type
Function
RC0/T1OSO/T1CKI bit0
ST
ST
Input/output port pin or Timer1 oscillator output/Timer1 clock input
RC1/T1OSI/CCP2
bit1
bit2
bit3
Input/output port pin or Timer1 oscillator input or Capture2 input/
Compare2 output/PWM2 output
RC2/CCP1
ST
ST
Input/output port pin or Capture1 input/Compare1 output/PWM1
output
RC3 can also be the synchronous serial clock for both SPI and I2C
RC3/SCK/SCL
modes.
RC4/SDI/SDA
RC5/SDO
bit4
bit5
bit6
ST
ST
ST
RC4 can also be the SPI Data In (SPI mode) or data I/O (I2C mode).
Input/output port pin or Synchronous Serial Port data output
RC6/TX/CK
Input/output port pin or USART Asynchronous Transmit or Synchro-
nous Clock
RC7/RX/DT
bit7
ST
Input/output port pin or USART Asynchronous Receive or Synchro-
nous Data
Legend: ST = Schmitt Trigger input
TABLE 3-6:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
Value on
all
other
resets
Value on:
POR,
Address Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
BOR
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
07h
87h
PORTC RC7
RC6
RC5
RC4
RC3
RC2
RC1
RC0
TRISC PORTC Data Direction Register
Legend: x= unknown, u= unchanged.
DS30292B-page 34
1999 Microchip Technology Inc.