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 I2C data I/O
• an analog output for the LCD
FIGURE 3-21:
BLOCK DIAGRAM OF RC7
USART/I2C™ Mode Select(1)
DT Data Out
I2C™ Data Out
PORT/(USART or I2C™) Select
Data Bus
WR PORTC
WR TRISC
DQ
CK Q
Data Latch
DQ
CK Q
TRIS Latch
I2C™ Drive
or SCEN Drive
RD TRISC
0
1
SE8 and LCDEN
Schmitt
Trigger
VDD
I/O Pin
VSS
RD PORTC
RX/SDI Input
SEG8
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)
© 2007 Microchip Technology Inc.
DS41250F-page 69