
CHAPTER 2 PIN FUNCTIONS
User’s Manual U19780EJ2V0UD
29
2.1.2 78K0/KC2-A
(1) Port functions (1/2): 78K0/KC2-A
Function Name
I/O
Function
After Reset Alternate Function
P00
TI000
P01
TI010/TO00
P02
I/O
Port 0.
3-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
INTP8
P10
TxD6
P11
RxD6
P12
TOH0/INTP7
P13
I/O
Port 1.
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.
Input port
TOH1/INTP6
P20
ANI0/AMP0
−
P21
ANI1/AMP0OUT
P22
ANI2/AMP0+
P23
ANI3/AMP1
−
P24
ANI4/AMP1OUT
P25
ANI5/AMP1+
P26
ANI6
P27
I/O
Port 2.
8-bit I/O port.
Input/output can be specified in 1-bit units.
Digital
input port
ANI15/AV
REFM
P31
INTP5/OCD1A
(/SCK10)
P32
INTP4/OCD1B
(/SI10)
P33
TI51/TO51/INTP3
P34
TI50/TO50/INTP2
P35
I/O
Port 3.
5-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
SO10/INTP1
P40
RTCCL/RTCDIV
P41
RTC1HZ
P42
I/O
Port 4.
3-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
PCL/SSI10/INTP9
P60
SCLA0/SCK10
P61
I/O
Port 6.
2-bit I/O port.
Output is N-ch open-drain output (6 V tolerance).
Input/output can be specified in 1-bit units.
Input port
SDAA0/SI10
P70 to P75
I/O
Port 7.
6-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
KR0 to KR5
Remark
The functions of pins whose names are in parentheses can be used by setting bit 2 (ISC2) of the input
switch control register (ISC) to 1.