English
Language : 

PIC16F872 Datasheet, PDF (28/160 Pages) Microchip Technology – 28-Pin, 8-Bit CMOS FLASH Microcontroller
PIC16F872
TABLE 3-5: PORTC FUNCTIONS
Name
Bit# Buffer Type
Function
RC0/T1OSO/T1CKI bit0
ST
RC1/T1OSI
bit1
ST
RC2/CCP1
bit2
ST
RC3/SCK/SCL
bit3
ST
RC4/SDI/SDA
bit4
ST
RC5/SDO
bit5
ST
RC6
bit6
ST
RC7
bit7
ST
Legend: ST = Schmitt Trigger input.
Input/output port pin or Timer1 oscillator output/Timer1 clock input.
Input/output port pin or Timer1 oscillator input.
Input/output port pin or Capture1 input/Compare1 output/PWM1
output.
RC3 can also be the synchronous serial clock for both SPI and I2C
modes.
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.
Input/output port pin.
Input/output port pin.
TABLE 3-6: SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
Address Name Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on:
POR,
BOR
Value on all
other resets
07h
PORTC RC7 RC6 RC5 RC4
87h
TRISC PORTC Data Direction Register
Legend: x = unknown, u = unchanged.
RC3
RC2
RC1
RC0 xxxx xxxx uuuu uuuu
1111 1111 1111 1111
DS30221A-page 28
Preliminary
© 1999 Microchip Technology Inc.