Datasheet
Section 9 I/O Ports
Rev.6.00 Sep. 27, 2007 Page 377 of 1268
REJ09B0220-0600
9.4.3 Pin Functions
Port 3 pins also function as SCI I/O pins (TxD
0
, RxD
0
, SCK
0
, TxD
1
, RxD
1
, and SCK
1
). Port 3 pin
functions are shown in table 9.7.
Table 9.7 Port 3 Pin Functions
Pin Selection Method and Pin Functions
P3
5
/SCK
1
The pin function is switched as shown below according to the combination of
bit C/A in the SCI1 SMR, bits CKE0 and CKE1 in SCR, and bit P35DDR.
CKE1 0 1
C/A 0 1 —
CKE0 0 1 — —
P35DDR 0 1 — — —
Pin function P3
5
input pin
P3
5
output pin
*
SCK
1
output pin
*
SCK
1
output pin
*
SCK
1
input pin
Note: * When P35ODR = 1, the pin becomes an NMOS open-drain output.
P3
4
/SCK
0
The pin function is switched as shown below according to the combination of
bit C/A in the SCI0 SMR, bits CKE0 and CKE1 in SCR, and bit P34DDR.
CKE1 0 1
C/A 0 1 —
CKE0 0 1 — —
P34DDR 0 1 — — —
Pin function P3
4
input pin
P3
4
output pin
*
SCK
0
output pin
*
SCK
0
output pin
*
SCK
0
input pin
Note: * When P34ODR = 1, the pin becomes an NMOS open-drain output.