
2007 Microchip Technology Inc.
DS41250F-page 69
PIC16F913/914/916/917/946
3.5.1.8
RC7/RX/DT/SDI/SDA/SEG8
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
Data Bus
WR PORTC
WR TRISC
RD PORTC
RX/SDI Input
SEG8
0
1
I2C Data Out
Schmitt
Trigger
I/O Pin
Data Latch
TRIS Latch
Q
D
Q
CK
Q
D
Q
CK
I2C Drive
SE8 and LCDEN
RD TRISC
PORT/(USART or I2C) Select
USART/I2C 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