English
Language : 

PIC18F4539 Datasheet, PDF (92/322 Pages) Microchip Technology – Enhanced FLASH Microcontrollers with Single Phase Induction Motor Control Kernel
PIC18FXX39
TABLE 9-5: PORTC FUNCTIONS
Name
RC0/T13CKI
RC3/SCK/SCL
Bit# Buffer Type
bit0
ST
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.
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
PORTC
RC7
RC6
RC5
RC4
RC3
*
*
LATC
LATC7 LATC6 LATC5 LATC4 LATC3
*
*
TRISC
TRISC7 TRISC6 TRISC5 TRISC4 TRISC3
*
*
Legend: x = unknown, u = unchanged. Shaded cells are not used by PORTC.
* Reserved bits; do not modify.
Bit 0
Value on
POR, BOR
Value on
All Other
RESETS
RC0
LATC0
TRISC0
xxxx xxxx
xxxx xxxx
1111 1111
uuuu uuuu
uuuu uuuu
1111 1111
DS30485A-page 90
Preliminary
 2002 Microchip Technology Inc.