Table 7.17 Port 9 Pin Functions
Pin
P9
/SCK
/IRQ
5
1
5
P9
/SCK
/IRQ
4
0
4
P9
/RxD
3
1
P9
/RxD
2
0
198
Pin Functions and Selection Method
Bit C/A in SMR of SCI1, bits CKE0 and CKE1 in SCR, and bit P9
select the pin function as follows.
CKE1
C/A
CKE0
P9
DDR
5
Pin function
input
Bit C/A in SMR of SCI0, bits CKE0 and CKE1 in SCR, and bit P9
select the pin function as follows.
CKE1
C/A
CKE0
P9
DDR
4
Pin function
input
Bit RE in SCR of SCI1, bit SMIF in SCMR, and bit P9
function as follows.
SMIF
RE
P9
DDR
3
Pin function
P9
Bit RE in SCR of SCI0, bit SMIF in SCMR, and bit P9
function as follows.
SMIF
RE
P9
DDR
2
Pin function
P9
0
0
0
0
1
P9
P9
5
5
output
IRQ
0
0
0
0
1
P9
P9
4
4
output
IRQ
0
0
0
1
input
P9
output
3
3
0
0
0
1
input
P9
output
2
2
1
1
—
—
—
SCK
SCK
1
1
output
output
input
5
1
1
—
—
—
SCK
SCK
0
0
output
output
input
4
DDR select the pin
3
1
—
RxD
input
RxD
1
DDR select the pin
2
1
—
RxD
input
RxD
0
DDR
5
1
—
—
—
SCK
1
input
DDR
4
1
—
—
—
SCK
0
input
1
—
—
input
1
1
—
—
input
0