Datasheet

78K0/Kx2-L CHAPTER 4 PORT FUNCTIONS
R01UH0028EJ0400 Rev.4.00 152
Sep 27, 2010
4.2.5 Port 4
78K0/KY2-L
(
μ
PD78F057x)
78K0/KA2-L
(
μ
PD78F056x)
78K0/KB2-L
(
μ
PD78F057x)
78K0/KC2-L
(
μ
PD78F058x)
16 Pins 20, 25, 32 Pins 30 Pins 40 Pins 44 Pins 48 Pins
P40/RTCCL/
RTCDIV(/SCK11)
P40/RTCCL/
RTCDIV(/SCK11)
P41/RTC1HZ
(/SI11)
P41/RTC1HZ
(/SI11)
P42/PCL/SSI11/
INTP6
Remark Functions in parentheses ( ) can be assigned by setting the port alternate switch control register (MUXSEL).
Port 4 is an I/O port with an output latch. Port 4 can be set to the input mode or output mode in 1-bit units using port
mode register 4 (PM4). When the P40 to P42 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 4 (PU4).
This port can also be used for external interrupt request input, real-time counter clock output, real-time counter
correction clock output, and chip select input of serial interface.
The clock I/O and data input of the serial interface can be assigned to P40 and P41 of the 78K0/KC2-L (44-pin and 48-
pin products) respectively by setting the port alternate switch control register (MUXSEL).
Reset signal generation sets port 4 to input mode.
Figures 4-19 to 4-21 show block diagrams of port 4.
<R>