CHAPTER 4 PORT FUNCTIONS
User’s Manual U17446EJ3V1UD
50
Table 4-1. Port Functions
Pin Name
I/O
Function
After Reset
Alternate-
Function Pin
P00 to P03
I/O
Port 0.
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.
Input
−
P20 to P23
I/O
Port 2.
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.
Input
ANI0 to ANI3
P30
TI000/INTP0
P31
TI010/TO00/
INTP2
P32
−
P33
I/O
Can be set to input or output mode in 1-
bit units.
On-chip pull-up resistor can be
connected by setting software.
Input
−
P34
Note
Input
Port 3
Input only
Input
RESET
Note
P40
−
P41
INTP3
P42
TOH1
P43
TxD6/INTP1
P44
RxD6
P45
−
P46
−
P47
I/O Port
4.
8-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.
Input
−
P120
−
P121
Note
X1
Note
P122
Note
X2
Note
P123
I/O Port
12.
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 only to P120 and
P123 by setting software.
Input
−
P130 Output
Port
13.
1-bit output-only port.
Output
−
Note
For settings of alternate function, refer to
CHAPTER 18 OPTION BYTE
.
Caution The P121/X1 and P122/X2 pins are pulled down during reset.
Remarks 1.
P121 and P122 can be allocated when the high-speed internal oscillation is selected as the system
clock.
2.
P122 can be allocated when an external clock is selected as the system clock.
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...