Microchip Technology MCP1631RD-MCC2 Data Sheet

Page of 338
 2006-2012 Microchip Technology Inc.
DS41291G-page 57
PIC16F882/883/884/886/887
3.5.4
RC3/SCK/SCL
 shows the diagram for this pin. This pin
 
is
configurable to function as one of the following:
• a general purpose I/O
• a SPI clock
• an  I
2
C™ clock
FIGURE 3-14:
BLOCK DIAGRAM OF RC3
3.5.5
RC4/SDI/SDA
 shows the diagram for this pin. This pin
 
is
configurable to function as one of the following:
• a general purpose I/O
• a SPI data I/O
• an  I
2
C data I/O
FIGURE 3-15:
BLOCK DIAGRAM OF RC4
3.5.6
RC5/SDO
 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• a serial data output
FIGURE 3-16:
BLOCK DIAGRAM OF RC5
I/O Pin
V
DD
V
SS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
RD
PORTC
WR
PORTC
WR
TRISC
RD
TRISC
To SSPSR
SSPEN
0
1
1
0
SCK
I/O Pin
V
DD
V
SS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
RD
PORTC
WR
PORTC
WR
TRISC
RD
TRISC
To SSPSR
SSPEN
0
1
1
0
SDI/SDA
I/O Pin
V
DD
V
SS
D
Q
CK
Q
D
Q
CK
Q
Data Bus
RD
PORTC
WR
PORTC
WR
TRISC
RD
TRISC
Port/SDO
0
1
1
0
SDO
Select