Datasheet
78K0/Kx2-L CHAPTER 2 PIN FUNCTIONS
R01UH0028EJ0400 Rev.4.00 45
Sep 27, 2010
(1) Port mode
P20 to P27 function as an I/O port. P20 to P27 can be set to input or output port in 1-bit units using port mode
register 2 (PM2).
(2) Control mode
P20 to P27 function as A/D converter analog input, operational amplifier I/O, and PGA input.
(a) ANI0 to ANI7
These are A/D converter analog input pins. When using these pins as analog input pins, refer to (5) ANI0/P20
to ANI7/P27 and ANI8/P10 to ANI10/P12 in 12.6 Cautions for A/D Converter.
(b) AMP0+, AMP0-
These are operational amplifier 0 input pins.
(c) AMP0OUT
This is an operational amplifier 0 output pin.
(d) PGAIN
This is a PGA (Programmable gain amplifier) input pin.
Caution ANI0/P20 to ANI7/P27 are set in the analog input mode after release of reset.
2.2.4 P30 to P37 (port 3)
P30 to P37 function as an I/O port. These pins also function as pins for external interrupt request input, timer I/O, clock
input and data I/O for flash memory programmer/on-chip debugger, and clock I/O and data I/O for serial interface.
The timer I/O can be assigned to P34 of the 78K0/KA2-L (25-pin and 32-pin products) by setting the port alternate
switch control register (MUXSEL).
78K0/KY2-L
(
μ
PD78F055x)
78K0/KA2-L
(
μ
PD78F056x)
78K0/KB2-L
(
μ
PD78F057x)
78K0/KC2-L
(
μ
PD78F058x)
16 Pins 20 Pins 25 Pins 32 Pins 30 Pins 40 Pins 44 Pins 48 Pins
P30/TOH1/
TI51/INTP1
P30/TOH1/
TI51/INTP1
− −
P30/INTP1 P30/INTP1 P30/INTP1 P30/INTP1
−
P31/INTP2/
TOOLC1
P31/INTP2/
TOOLC1
P31/INTP2/
TOOLC1
P31/INTP2/
TOOLC1
P31/INTP2/
TOOLC1
P31/INTP2/
TOOLC1
P31/INTP2/
TOOLC1
−
P32/INTP3/
TOOLD1
P32/INTP3/
TOOLD1
P32/INTP3/
TOOLD1
P32/INTP3/
TOOLD1
P32/INTP3/
TOOLD1
P32/INTP3/
TOOLD1
P32/INTP3/
TOOLD1
− −
P33 P33
P33/TI51/
TO51/INTP4
P33/TI51/
TO51/INTP4
P33/TI51/
TO51/INTP4
P33/TI51/
TO51/INTP4
− −
P34/INTP4
(/TOH1)
(/TI51)
P34/INTP4
(/TOH1)
− − − −
− −
P35/SCK11 P35/SCK11
− − − −
− −
P36/SI11 P36/SI11
− − − −
− −
P37/SO11 P37/SO11
− − − −
<R>