English
Language : 

PIC18FXX8 Datasheet, PDF (103/402 Pages) Microchip Technology – 28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
PIC18FXX8
TABLE 9-5: PORTC FUNCTIONS
Name
Bit# Buffer Type
Function
RC0/T1OSO/T1CKI bit 0
ST
RC1/T1OSI
RC2/CCP1
bit 1
ST
bit 2
ST
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
RC6/TX/CK
bit 3
ST
bit 4
ST
bit 5
ST
bit 6
ST
RC7/RX/DT
bit 7
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 Capture 1 input/Compare 1 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 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
Value on
all other
Resets
xxxx xxxx
xxxx xxxx
1111 1111
uuuu uuuu
uuuu uuuu
1111 1111
 2004 Microchip Technology Inc.
DS41159D-page 101