Datasheet
78K0/Kx2-L CHAPTER 2 PIN FUNCTIONS
R01UH0028EJ0400 Rev.4.00 46
Sep 27, 2010
The following operation modes can be specified in 1-bit units.
(1) Port mode
P30 to P37 function as an I/O port. P30 to P37 can be set to input or output port in 1-bit units using port mode
register 3 (PM3). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 3 (PU3).
(2) Control mode
P30 to P37 function as 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.
(a) INTP1 to INTP4
These are external interrupt request input pins for which the valid edge (rising edge, falling edge, or both rising
and falling edges) can be specified.
(b) TI51
This is an external count clock input pin to 8-bit timer/event counter 51.
(c) TO51
This is a timer output pin from 8-bit timer/event counter 51.
(d) TOH1
This is a timer output pin of 8-bit timer H1.
(e) TOOLC1
This is a clock input pin for flash memory programmer/on-chip debugger.
(f) TOOLD1
This is a data I/O pin for flash memory programmer/on-chip debugger.
(g) SCK11
This is a serial clock I/O pin of serial interface CSI11.
(h) SI11
This is a serial data input pin of serial interface CSI11.
(i) SO11
This is a serial data output pin of serial interface CSI11.
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.