
CHAPTER 14 PORT FUNCTION
User’s Manual U12768EJ4V1UD
395
Table 14-13. Setting When Port Pin Is Used as Alternate Function (3/3)
Alternate Function
Pin Name
Function Name
I/O
PMnx Bit of
PMn Register
Pnx Bit of
Pn Register
Other Bits
(Register)
P50 to P57
AD8 to AD15
I/O
Setting not needed
for PM50 to PM57
Setting not needed
for P50 to P57
Refer to 3.4.6 (1) (MM)
P60 to P65
A16 to A21
Output
Setting not needed
for PM60 to PM65
Setting not needed
for P60 to P65
Refer to 3.4.6(1) (MM)
P70 to P77
ANI0 to ANI7
Input
None
Setting not needed
for P70 to P77
P80 to P83
ANI8 to ANI11
Input
None
Setting not needed
for P80 to P83
LBEN
Output
P90
WRL
Output
Setting not needed
for PM90
Setting not needed
for P90
Refer to 3.4.6 (1) (MM)
P91
UBEN
Output
Setting not needed
for PM91
Setting not needed
for P91
Refer to 3.4.6 (1) (MM)
R/W
Output
P92
WRH
Output
Setting not needed
for PM92
Setting not needed
for P92
Refer to 3.4.6 (1) (MM)
DSTB
Output
P93
RD
Output
Setting not needed
for PM93
P93 = 1
Refer to 3.4.6 (1) (MM)
P94
ASTB
Output
Setting not needed
for PM94
P94 = 1
Refer to 3.4.6 (1) (MM)
P95
HLDAK
Output
Setting not needed
for PM95
Setting not needed
for P95
Refer to 3.4.6 (1) (MM)
P96
HLDRQ
Input
Setting not needed
for PM96
Setting not needed
for P96
Refer to 3.4.6 (1) (MM)
RTP0 to RTP7
Output
–
P100 to P107
A5 to A12
Output
PM100 to PM107 = 0
P100 to P107 = 0
Refer to 3.4.6 (2) (MAM)
P110 to P113
A1 to A4
Output
PM110 to PM113 = 0
P110 to P113 = 0
Refer to 3.4.6 (2) (MAM)
P114
XT1
Input
None
Setting not needed
for P114
–
P120
WAIT
Input
PM120 = 1
Setting not needed
for P120
PMC120 = 1 (PMC12)
Caution
When changing the output level of port 0 by setting the of port function output mode of port 0, the
interrupt request flag will be set because port 0 also has an alternate function as an external
interrupt request input. Therefore, be sure to set the corresponding interrupt mask flag to 1 before
using the output mode.
mark
PMnx bit of PMn register and Pnx bit of Pn
n: 0 (x = 0 to 7)
n: 1 (x = 0 to 5)
n: 2 (x = 0 to 7)
n: 3 (x = 0 to 7)
n: 4 (x = 0 to 7)
n: 5 (x = 0 to 7)
n: 6 (x = 0 to 5)
n: 7 (x = 0 to 7)
n: 8 (x = 0 to 3)
n: 9 (x = 0 to 6)
n: 10 (x = 0 to 7)
n: 11 (x = 0 to 4)
n: 12 (x = 0)