CHAPTER 14 PORT FUNCTION
User’s Manual U13850EJ6V0UD
514
Table 14-12. Setting When Port Pin Is Used as Alternate Function (4/4)
Alternate Function
Pin Name
Function Name
I/O
PMnx Bit of
PMn Register
Pnx Bit of
Pn Register
Other Bits
(Register)
RTP0 to RTP3
Output
–
A5 to A8
Output
PM100 to PM103 = 0
P100 to P103 = 0
Refer to
3.4.6 (2)
(MAM)
P100 to P103
KR0 to KR3
Input
PM100 to PM103 = 1
Setting not needed
for P100 to P103
–
RTP4
Output
–
A9
Output
PM104 = 0
P104 = 0
Refer to
3.4.6 (2)
(MAM)
KR4
Input
–
P104
IERX
Note
Input
PM104 = 1
Setting not needed
for P104
–
RTP5
Output
–
A10
Output
PM105 = 0
P105 = 0
Refer to
3.4.6 (2)
(MAM)
KR5
Input
PM105 = 1
Setting not needed
for P105
–
P105
IETX
Note
Output
PM105 = 0
P105 = 0
–
RTP6, RTP7
Output
–
A11, A12
Output
PM106, PM107 = 0
P106, P107 = 0
Refer to
3.4.6 (2)
(MAM)
P106, P107
KR6, KR7
Input
PM106, PM107 = 1
Setting not needed
for P106 and P107
–
A1
Output
PM110 = 0
P110 = 0
Refer to
3.4.6 (2)
(MAM)
P110
WAIT
Input
PM110 = 1
Setting not needed
for P110
WAC = 1 (PAC)
P111 to P113
A2 to A4
Output
PM111 to PM113 = 0
P111 to P113 = 0
Refer to
3.4.6 (2)
(MAM)
Note
Only in the V850/SB2.
Caution When changing the output level of port 0 by setting the 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.
Remark
PMnx bit of PMn register and Pnx bit of Pn register
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 3)
Содержание V850/SB1
Страница 2: ...User s Manual U13850EJ6V0UD 2 MEMO ...