English
Language : 

PIC18F2455_09 Datasheet, PDF (123/438 Pages) Microchip Technology – 28/40/44-Pin,High-Performance,Enhanced Flash,USB Microcontrollers with nanoWatt Technology
PIC18F2455/2550/4455/4550
TABLE 10-5: PORTC I/O SUMMARY (CONTINUED)
Pin
Function
TRIS
Setting
I/O
I/O Type
Description
RC7/RX/DT/
SDO
RC7
0
OUT DIG LATC<7> data output.
1
IN
ST PORTC<7> data input.
RX
1
IN
ST Asynchronous serial receive data input (EUSART module).
DT
1
OUT DIG Synchronous serial data output (EUSART module); takes priority over
SPI and port data.
1
IN
ST Synchronous serial data input (EUSART module). User must
configure as an input.
SDO
0
OUT DIG SPI data output (MSSP module); takes priority over port data.
Legend:
Note 1:
2:
3:
OUT = Output, IN = Input, ANA = Analog Signal, DIG = Digital Output, ST = Schmitt Buffer Input,
TTL = TTL Buffer Input, XCVR = USB transceiver, x = Don’t care (TRIS bit does not affect port direction or is overridden
for this option)
Default pin assignment. Alternate pin assignment is RB3 (when CCP2MX = 0).
RC4 and RC5 do not have corresponding TRISC bits. In Port mode, these pins are input only. USB data direction is
determined by the USB configuration.
40/44-pin devices only.
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
Reset
Values
on page
PORTC
RC7
RC6
RC5(1) RC4(1)
—
RC2
RC1
RC0
56
LATC
LATC7 LATC6
—
—
—
LATC2 LATC1 LATC0
56
TRISC
TRISC7 TRISC6
—
—
—
TRISC2 TRISC1 TRISC0
56
UCON
— PPBRST SE0 PKTDIS USBEN RESUME SUSPND —
57
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by PORTC.
Note 1: RC5 and RC4 are only available as port pins when the USB module is disabled (UCON<3> = 0).
© 2009 Microchip Technology Inc.
DS39632E-page 121