161
Table 7-14 Port 9 Pin Functions
Pin
Pin Functions and Selection Method
P9
5
/SCK
1
/
IRQ
5
Bit C/
A
in SMR of SCI1, bits CKE0 and CKE1 in SCR of SCI1, and bit P9
5
DDR
select the pin function as follows
CKE1
0
1
C/
A
0
1
—
CKE0
0
1
—
—
P9
5
DDR
0
1
—
—
—
Pi n funct i on
P9
5
input
P9
5
output
SCK
1
output
SCK
1
output
SCK
1
input
IRQ
5
input
P9
4
/SCK
0
/
IRQ
4
Bit C/
A
in SMR of SCI0, bits CKE0 and CKE1 in SCR of SCI, and bit P9
4
DDR select
the pin function as follows
CKE1
0
1
C/
A
0
1
—
CKE0
0
1
—
—
P9
4
DDR
0
1
—
—
—
Pi n funct i on
P9
4
input
P9
4
output
SCK
0
output
SCK
0
output
SCK
0
input
IRQ
4
input
P9
3
/RxD
1
Bit RE in SCR of SCI1 and bit P9
3
DDR select the pin function as follows
RE
0
1
P9
3
DDR
0
1
—
Pi n funct i on
P9
3
input
P9
3
output
RxD
1
input
P9
2
/RxD
0
Bit RE in SCR of SCI0, bit SMIF in SCMR, and bit P9
2
DDR select the pin function as
follows
SMIF
0
1
RE
0
1
—
P9
2
DDR
0
1
—
—
Pi n funct i on
P9
2
input
P9
2
output
RxD
0
input
RxD
0
input