Datasheet

© 2007 Microchip Technology Inc. DS41250F-page 69
PIC16F913/914/916/917/946
3.5.1.8 RC7/RX/DT/SDI/SDA/SEG8
Figure 3-21 shows the diagram for this pin. The RC7
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
a SPI data input
•an I
2
C data I/O
an analog output for the LCD
FIGURE 3-21: BLOCK DIAGRAM OF RC7
Data Bus
WR PORTC
WR TRISC
RD PORTC
RX/SDI Input
SEG8
0
1
I
2
C
Data Out
Schmitt
Trigger
I/O Pin
Data Latch
TRIS Latch
Q
D
Q
CK
Q
D
Q
CK
I
2
C
Drive
SE8 and LCDEN
RD TRISC
PORT/(USART or I
2
C
) Select
USART/I
2
C
Mode Select
(1)
DT Data Out
or SCEN Drive
SE8 and LCDEN
Note 1: If all three data output sources are enabled, the following priority order will be used:
USART data (highest)
SSP data
PORT data (lowest)
VDD
VSS