CHAPTER 14 PORT FUNCTION
User’s Manual U13850EJ4V0UM
415
Table 14-12. Setting When Port Pin Is Used for 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 Figure 3-22
(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 Figure 3-22
(MAM)
KR4
Input
–
P104
IERX
Note
Input
PM104 = 1
Setting not needed
for P104
–
RTP5
Output
–
A10
Output
PM105 = 0
P105 = 0
Refer to Figure 3-22
(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 Figure 3-22
(MAM)
P106, P107
KR6, KR7
Input
PM106, PM107 = 1
Setting not needed
for P106 and P107
–
A1
Output
PM110 = 0
P110 = 0
Refer to Figure 3-22
(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 Figure 3-22
(MAM)
Note
Only for the V850/SB2.
Cautions 1. When changing the output level of port 0 by setting the port 0’s port function output mode, the
interrupt request flag will be set because port 0 also has an alternate function as external
interrupt request input. Therefore, be sure to set a corresponding interrupt mask flag to 1
before using the output mode.
2. When using the I
2
C bus mode, be sure to specify N-ch open-drain output for the SDA0/P10,
SCL0/P12, SDA1/P20, and SCL1/P22 pins by setting the port n function register (PFn) (n = 1, 2).
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)
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...