CHAPTER 4 PORT FUNCTIONS
Preliminary User’s Manual U19014EJ1V0UD
61
Table 4-2. Port Functions
Function Name
I/O
Function
After Reset
Alternate Function
P00
TI000
P01
I/O
Port 0.
2-bit I/O port.
Input/output can be specified in 1-bit units.
Use of an on-chip pull-up resistor can be specified by a software
setting.
Input port
TI010/TO00
P10
SCK10
P11
SI10
P12
SO10
P13
TxD6
P14
RxD6
P15
−
P16
TOH1
P17
I/O
Port 1.
8-bit I/O port.
Input/output can be specified in 1-bit units.
Use of an on-chip pull-up resistor can be specified by a software
setting.
Input port
TI50/TO50
P30
INTP1
P31
INTP2/OCD1A
P32
INTP3/OCD1B
P33
I/O
Port 3.
4-bit I/O port.
Input/output can be specified in 1-bit units.
Use of an on-chip pull-up resistor can be specified by a software
setting.
Analog input
TI51/TO51
P60
−
P61
I/O
Port 6.
2-bit I/O port.
Output of P60 and P61 is N-ch open-drain output (6 V
tolerance).
Input/output can be specified in 1-bit units.
Input port
−
P120
INTP0
P121
X1/OCD0A
P122
I/O
Port 12.
3-bit I/O port.
Input/output can be specified in 1-bit units.
Only for P120, use of an on-chip pull-up resistor can be
specified by a software setting.
Input port
X2/EXCLK/OCD0B
4.2 Port Configuration
Ports include the following hardware.
Table 4-3. Port Configuration
Item Configuration
Control registers
Port mode register (PM0, PM1, PM3, PM6, PM12)
Port register (P0, P1, P3, P6, P12)
Pull-up resistor option register (PU0, PU1, PU3, PU12)
Port
Total: 20 (CMOS I/O: 18, N-ch open drain I/O: 2)
Pull-up resistor
Total: 15
electronic components distributor