English
Language : 

UPD78F9500MA-CAC-A Datasheet, PDF (56/342 Pages) Renesas Technology Corp – 8-Bit Single-Chip Microcontrollers
CHAPTER 4 PORT FUNCTIONS
4.1 Functions of Ports
The 78K0S/KU1+ has the ports shown in Figure 4-1, which can be used for various control operations. Table 4-1
shows the functions of each port.
In addition to digital I/O port functions, each of these ports has an alternate function. For details, refer to
CHAPTER 2 PIN FUNCTIONS.
Figure 4-1. Port Functions
Port 4
P40
P43
P20
Port 2
P23
P32
P34
Port 3
Table 4-1. Port Functions (μPD78F920x)
Pin Name
I/O
Function
After Reset
Alternate-
Function Pin
P20
P21
P22Note 1
P23Note 1
I/O
Port 2.
Input
4-bit I/O port.
Can be set to input or output mode in 1-bit units.
On-chip pull-up resistor can be connected by setting software.
ANI0/TI000/TOH1
ANI1/TI010/TO00/
INTP0
X2/ANI2Note 1
X1/ANI3Note 1
P32
I/O
P34Note 1
P40 and P43Note 2
Input
I/O
Port 3
Can be set to input or output mode in 1-
bit units.
On-chip pull-up resistor can be
connected by setting software.
Input
Input only
Input
Port 4.
2-bit I/O port.
Can be set to input or output mode in 1-bit units.
On-chip pull-up resistor can be connected setting software.
Input
INTP1
RESETNote 1
−
Notes 1. For the setting method for pin functions, see CHAPTER 15 OPTION BYTE.
2. At program initialization, set PM41, PM42, and PM44 to PM47 to "0".
Caution The P22/X2/ANI2 and P23/X1/ANI3 pins are pulled down during reset.
Remarks 1. P22 and P23 can be allocated when the high-speed internal oscillation is selected as the system clock.
2. P22 can be allocated when an external clock input is selected as the system clock.
54
User’s Manual U18172EJ3V0UD