English
Language : 

PIC18F6X2X Datasheet, PDF (114/386 Pages) Microchip Technology – 64/80-Pin High Performance, 64-Kbyte Enhanced FLASH Microcontrollers with A/D
PIC18F6X2X/8X2X
TABLE 10-5: PORTC FUNCTIONS
Name
Bit# Buffer Type
Function
RC0/T1OSO/T13CKI bit 0
ST
Input/output port pin, Timer1 oscillator output, or Timer1/Timer3
clock input.
RC1/T1OSI/CCP2(1)/ bit 1
ST
Input/output port pin, Timer1 oscillator input, standard Capture2
P2A(1)
input/Compare2 output/PWM output, or Enhanced PWM output P2A.
RC2/CCP1/P1A
bit 2
ST
Input/output port pin, Capture1 input/Compare1 output/PWM1
output, or Enhanced PWM output P1A.
RC3/SCK/SCL
bit 3
ST
RC3 can also be the synchronous serial clock for both SPI and I2C
modes.
RC4/SDI/SDA
bit 4
ST
RC4 can also be the SPI Data In (SPI mode) or Data I/O (I2C mode).
RC5/SDO
bit 5
ST
Input/output port pin or Synchronous Serial Port data output.
RC6/TX1/CK1
bit 6
ST
Input/output port pin, Addressable USART1 Asynchronous Transmit,
or Addressable USART1 Synchronous Clock.
RC7/RX1/DT1
bit 7
ST
Input/output port pin, Addressable USART1 Asynchronous Receive,
or Addressable USART1 Synchronous Data.
Legend: ST = Schmitt Trigger input
Note 1:
Valid when CCP2MX is set in all devices and in all operating modes (default). RE7 is the alternate assign-
ment for CCP2/P2A for all PIC18F6X2X devices and PIC18F8X2X devices in Microcontroller modes
when CCP2MX is not set; RB3 is the alternate assignment for PIC18F8X2X devices in all other operating
modes.
TABLE 10-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 RC3 RC2 RC1 RC0
LATC
LATC Data Output Register
TRISC PORTC Data Direction Register
Legend: x = unknown, u = unchanged
Value on
POR, BOR
Value on
all other
RESETS
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
DS39612A-page 112
Advance Information
 2003 Microchip Technology Inc.