R8C/1A Group, R8C/1B Group 5. Programmable I/O Ports
Rev.1.30 Dec 08, 2006 Page 35 of 315
REJ09B0252-0130
X: 0 or 1
X: 0 or 1
Table 5.13 Port P3_4/SCS/SDA/CMP1_1
Register PD3 PUR0
SSU (Refer to
Table 16.4
Association between
Communication Modes
and I/O Pins
)
TCOUT P3 ICCR1
Function
Bit PD3_4 PU07
SCS
Output
Control
SCS Input
Control
TCOUT4 P3_4 ICE
Setting
Value
0 0 0 0 0 X 0 Input port (not pulled up)
0 1 0 0 0 X 0 Input port (pulled up)
00 0 1 0X0SCS
input
X X 0 0 X X 1 SDA input/output
1 X 0 0 0 X 0 Output port
X X 0 0 1 0 0 Output port
X X 0 0 1 1 0 CMP1_1 output
XX 1 0 XX0SCS
output
Table 5.14 Port P3_5/SSCK/SCL/CMP1_2
Register PD3 PUR0
SSU (Refer to
Table 16.4
Association between
Communication Modes
and I/O Pins
)
TCOUT P3 ICCR1
Function
Bit PD3_5 PU07
SSCK Output
Control
SSCK Input
Control
TCOUT5 P3_5 ICE
Setting
Value
0 0 0 0 0 X 0 Input port (not pulled up)
0 1 0 0 0 X 0 Input port (pulled up)
0 0 0 1 0 X 0 SSCK input
X X 0 0 X X 1 SCL input/output
1 X 0 0 0 X 0 Output port
X X 0 0 1 0 0 Output port
X X 0 0 1 1 0 CMP1_2 output
X X 1 0 X X 0 SSCK output