English
Language : 

PIC18F452-IPT Datasheet, PDF (96/332 Pages) Microchip Technology – High-Performance, Enhanced Flash Microcontrollers with 10-Bit A/D
PIC18FXX2
TABLE 9-5: PORTC FUNCTIONS
Name
Bit# Buffer Type
RC0/T1OSO/T1CKI bit0
ST
RC1/T1OSI/CCP2 bit1
ST
RC2/CCP1
bit2
ST
RC3/SCK/SCL
bit3
ST
RC4/SDI/SDA
RC5/SDO
RC6/TX/CK
bit4
ST
bit5
ST
bit6
ST
RC7/RX/DT
bit7
ST
Legend: ST = Schmitt Trigger input
Function
Input/output port pin or Timer1 oscillator output/Timer1 clock input.
Input/output port pin, Timer1 oscillator input, or Capture2 input/
Compare2 output/PWM output when CCP2MX configuration bit is
set.
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, Addressable USART Asynchronous Transmit, or
Addressable USART Synchronous Clock.
Input/output port pin, Addressable USART Asynchronous Receive, or
Addressable USART Synchronous Data.
TABLE 9-6: SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
Name
Bit 7 Bit 6
Bit 5
Bit 4
Bit 3 Bit 2
Bit 1
Bit 0
PORTC
RC7
RC6
RC5
RC4
LATC
LATC Data Output Register
TRISC
PORTC Data Direction Register
Legend: x = unknown, u = unchanged
RC3
RC2
RC1
RC0
Value on
POR, BOR
xxxx xxxx
xxxx xxxx
1111 1111
Value on
All Other
RESETS
uuuu uuuu
uuuu uuuu
1111 1111
DS39564C-page 94
© 2006 Microchip Technology Inc.