7.6.3
Pin Functions
Port 5 has the same pin functions in each operating mode. All pins can also be used as SCI
input/output pins. Table 7.11 indicates the pin functions of port 5.
Table 7.11 Port 5 Pin Functions
Pin
Pin Functions and Selection Method
P52/SCK0
Bit C/A in SMR of SCI0, bits CKE0 and CKE1 in SCR of SCI0, and bit P52DDR
select the pin function as follows
CKE1
0
1
C/A
0
1
1
—
—
—
CKE0
0
1
—
—
P52DDR
Pin function
0
—
P52
input
P52
output
SCK0
output
SCK0
output
SCK0
input
P51/RxD0
Bit RE in SCR of SCI0 and bit P51DDR select the pin function as follows
RE
0
1
P51DDR
Pin function
0
1
—
P51 input
P51 output
RxD0 input
P50/TxD0
Bit TE in SCR of SCI0 and bit P50DDR select the pin function as follows
TE
0
1
—
P50DDR
Pin function
0
1
P50 input
P50 output
TxD0 output
137