CHAPTER 2 PIN FUNCTIONS
User’s Manual U15400EJ4V0UD
36
(1)
Port pins (2/2)
Pin Name
I/O
Function
After Reset
Alternate Function
P70 to P73
Note 1
Input
Port 7.
4-bit input port.
(Only when input port is selected by mask option or port
function register)
Input
P80 to P87
Note 2
I/O
Port 8.
8-bit I/O port.
(Only when I/O port is selected by mask option or port function
register)
Input
Notes 1. Whether to use these pins as input port pins (P70 to P73) or segment outputs (S16 to S19) can be
selected in 1-bit units by means of a mask option in the
μPD789477, 789478, and 789479 or a port
mode register in the
μPD78F9478 and 78F9479 (refer to 4.3 (3) Port function registers and
CHAPTER 20 MASK OPTIONS).
2. Whether to use these pins as I/O port pins (P80 to P87) or segment outputs (S20 to S27) can be
selected in 1-bit units by means of a mask option in the
μPD789477 789478, and 789479 or a port
mode register in the
μPD78F9478 and 78F9479 (refer to 4.3 (3) Port function registers and
CHAPTER 20 MASK OPTIONS).
(2)
Non-port pins (1/2)
Pin Name
I/O
Function
After Reset
Alternate Function
INTP0
P30/TO50/TMI60
INTP1
P31/TO60
INTP2
P32/TMI61/TO61
INTP3
Input
External interrupt input for which the valid edge (rising edge,
falling edge, or both rising and falling edges) can be specified.
Input
P33/CPT20/TO20
KR0 to KR7
Note 1
Input
Key return signal detection
Input
P00 to P07
KR00 to KR07
Note 2
P00 to P07
KR10 to KR17
Note 2
Input
Key return signal detection
Input
P60/ANI0 to
P67/ANI7
TO20
Output
16-bit timer 20 output
Input
P33/INTP3/CPT20
CPT20
Output
Capture edge input of 16-bit timer 20
Input
P33/INTP3/TO20
TO50
Output
8-bit timer 50 output
Input
P30/INTP0/TMI60
TO60
Output
8-bit timer 60 output
Input
P31/INTP1
TO61
Output
8-bit timer 61 output
Input
P32/INTP2/TMI61
TMI60
Input
External count clock input to 8-bit timer 60
Input
P30/INTP0/TO50
TMI61
Input
External count clock input to 8-bit timer 61
Input
P32/INTP2/TO61
SCK20
P20/ASCK20
SCK10
I/O
Serial clock input/output of serial interface
Input
P23
SO20
P21/TxD20
SO10
Output
Serial data output of serial interface
Input
P24
SI20
P22/RxD20
SI10
Input
Serial data input of serial interface
Input
P25
ASCK20
Input
Serial clock input of asynchronous serial interface
Input
P20/SCK20
Notes 1.
μPD789477, 789478, and 78F9478 only
2.
μPD789479 and 78F9479 only