Datasheet

PIC16F688
DS41203E-page 44 © 2009 Microchip Technology Inc.
4.3.5 RC4/C2OUT/TX/CK
Figure 4-9 shows the diagram for this pin. The RC4 is
configurable to function as one of the following:
a general purpose I/O
a digital output from the comparator
a digital I/O for the EUSART
FIGURE 4-9: BLOCK DIAGRAM OF RC4
4.3.6 RC5/RX/DT
The RC5 is configurable to function as one of the
following:
a general purpose I/O
a digital I/O for the EUSART
FIGURE 4-10: BLOCK DIAGRAM OF RC5
PIN
TABLE 4-2: SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
I/O Pin
VDD
VSS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
WR
PORTC
WR
TRISC
RD
TRISC
RD
PORTC
1
0
USART Select
(1)
C2OUT EN
Note 1: USART Select signals selects between port
data and peripheral output.
To EUSART CLK Input
C2OUT
1
0
EUSART
TX/CLKOUT
I/O Pin
VDD
VSS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
WR
PORTC
WR
TRISC
RD
TRISC
To EUSART RX/DT In
RD
PORTC
0
1
EUSART
EUSART Out
Enable
DT Out
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
ANSEL ANS7 ANS6 ANS5 ANS4
ANS3 ANS2 ANS1 ANS0 1111 1111 1111 1111
CMCON0
C2OUT C1OUT C2INV C1INV CIS CM2 CM1 CM0 0000 0000 0000 0000
PORTC
RC5 RC4 RC3 RC2 RC1 RC0 --xx 0000 --xx 0000
TRISC
TRISC5 TRISC4 TRISC3 TRISC2 TRISC1 TRISC0 --11 1111 --11 1111
Legend: x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTC.