English
Language : 

PIC18F258 Datasheet, PDF (101/384 Pages) Microchip Technology – High Performance, 28/40-Pin Enhanced FLASH Microcontrollers with CAN
PIC18FXX8
TABLE 9-5: PORTC FUNCTIONS
Name
Bit# Buffer Type
Function
RC0/T1OSO/T1CKI bit0
ST
RC1/T1OSI
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
RC6/TX/CK
bit1
ST
bit2
ST
bit3
ST
bit4
ST
bit5
ST
bit6
ST
RC7/RX/DT
bit7
ST
Legend: ST = Schmitt Trigger input
Input/output port pin, Timer1 oscillator output or Timer1/Timer3 clock
input.
Input/output port pin or Timer1 oscillator input.
Input/output port pin or Capture1 input/Compare1 output/PWM1 output.
Input/output port pin or Synchronous Serial clock for SPI/I2C.
Input/output port pin or 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
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 uuuu uuuu
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
 2002 Microchip Technology Inc.
Preliminary
DS41159B-page 99