Table 8-9 Port 3 Pin Functions
Pin
Pin Functions and Selection Method
P3
5
/TXD
31
The pin function depends on bit TE in SCR3-1, bit SPC31 in SPCR, and bit
PCR3
5
in PCR3.
SPC31
0
1
TE
0
1
PCR3
5
0
1
*
Pin function
P3
5
input pin
P3
5
output pin
TXD
31
output pin
P3
4
/RXD
31
The pin function depends on bit RE in SCR3-1 and bit PCR3
4
in PCR3.
RE
0
1
PCR3
4
0
1
*
Pin function
P3
4
input pin
P3
4
output pin
RXD
31
input pin
P3
3
/SCK
31
The pin function depends on bits CKE1, CKE0, and SMR31 in SCR3-1 and
bit PCR3
3
in PCR3.
CKE1
0
1
CKE0
0
1
*
COM3
1
0
1
*
*
PCR3
3
0
1
*
*
Pin function
P3
3
input pin
P3
3
output pin
SCK
31
SCK
31
output pin
input pin
P3
2
/
RESO
The pin function depends on bit RESO in PMR3 and bit PCR3
2
in PCR3.
RESO
0
1
PCR3
2
0
1
*
Pin function
P3
2
input pin
P3
2
output pin
RESO output pin
P3
1
/UD
The pin function depends on bit UD in PMR3 and bit PCR3
1
in PCR3.
UD
0
1
PCR3
1
0
1
*
Pin function
P3
1
input pin
P3
1
output pin
UD input pin
P3
0
/PWM
The pin function depends on bit PWM in PMR3 and bit PCR3
0
in PCR3.
PWM
0
1
PCR3
0
0
1
*
Pin function
P3
0
input pin
P3
0
output pin
PWM output pin
*:
Don’t care
146