Datasheet
78K0/Kx2-L CHAPTER 4 PORT FUNCTIONS
R01UH0028EJ0400 Rev.4.00 147
Sep 27, 2010
4.2.4 Port 3
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
− − − −
Port 3 is an I/O port with an output latch. Port 3 can be set to the input mode or output mode in 1-bit units using port
mode register 3 (PM3). When the P30 to P37 pins are used as an input port, use of an on-chip pull-up resistor can be
specified in 1-bit units by pull-up resistor option register 3 (PU3).
This port can also be used 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).
Reset signal generation sets port 3 to input mode.
Figures 4-15 to 4-18 show block diagrams of port 3.
Remark For how to connect a flash memory programmer using TOOLC1/P31, TOOLD1/P32, refer to CHAPTER 25
FLASH MEMORY. For how to connect TOOLC1/P31, TOOLD1/P32 and an on-chip debug emulator, refer
to CHAPTER 26 ON-CHIP DEBUG FUNCTION.
<R>