Datasheet
PIC16F882/883/884/886/887
DS41291F-page 56 © 2009 Microchip Technology Inc.
3.5.7 RC6/TX/CK
Figure 3-17 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• an asynchronous serial output
• a synchronous clock I/O
FIGURE 3-17: BLOCK DIAGRAM OF RC6
3.5.8 RC7/RX/DT
Figure 3-18 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• an asynchronous serial input
• a synchronous serial data I/O
FIGURE 3-18: BLOCK DIAGRAM OF RC7
TABLE 3-3: SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
I/O Pin
VDD
VSS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
RD
PORTC
WR
PORTC
WR
TRISC
RD
TRISC
SPEN
TXEN
CK
TX
SYNC
EUSART
EUSART
0
1
1
0
0
1
1
0
I/O Pin
VDD
VSS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
RD
PORTC
WR
PORTC
WR
TRISC
RD
TRISC
SPEN
SYNC
EUSART
0
1
1
0
DT
EUSART RX/DT
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Value on
POR, BOR
Value on
all other
Resets
CCP1CON P1M1 P1M0 DC1B1 DC1B0 CCP1M3 CCP1M2 CCP1M1 CCP1M0 0000 0000 0000 0000
CCP2CON
— — DC2B1 DC2B0 CCP2M3 CCP2M2 CCP2M1 CCP2M0 --00 0000 --00 0000
PORTC RC7 RC6 RC5 RC4 RC3 RC2 RC1 RC0 xxxx xxxx uuuu uuuu
PSTRCON
— — — STRSYNC STRD STRC STRB STRA ---0 0001 ---0 0001
RCSTA SPEN RX9 SREN CREN ADDEN FERR OERR RX9D 0000 000x 0000 000x
SSPCON WCOL SSPOV SSPEN CKP SSPM3 SSPM2 SSPM1 SSPM0 0000 0000 0000 0000
T1CON
T1GINV TMR1GE
T1CKPS1 T1CKPS0 T1OSCEN T1SYNC
TMR1CS TMR1ON 0000 0000 0000 0000
TRISC TRISC7 TRISC6 TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0 1111 1111 1111 1111
Legend: x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTC.