Datasheet
78K0/Kx2-L CHAPTER 2 PIN FUNCTIONS
R01UH0028EJ0400 Rev.4.00 42
Sep 27, 2010
2.2 Description of Pin Functions
Remark The pins mounted depend on the product. Refer to 1.3 Pin Configuration (Top View) and 2.1 Pin
Function List.
2.2.1 P00 to P02 (port 0)
P00 to P02 function as an I/O port. These pins also function as timer I/O, external interrupt request input, and chip
select input of serial interface.
The timer I/O can be assigned to P00 of the 78K0/KA2-L (25-pin products) by setting the port alternate switch control
register (MUXSEL).
78K0/KY2-L
(
μ
PD78F057x)
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
P00/TI000/
INTP0
P00/TI000/
INTP0
P00/TI000/
INTP0(/TOH1)
(/TI51)
−
P00/TI000 P00/TI000 P00/TI000 P00/TI000
P01/TO00/
TI010
P01/TO00/
TI010
−
P01/TO00/
TI010
P01/TO00/
TI010
P01/TO00/
TI010
P01/TO00
/TI010
P01/TO00/
TI010
− −
P02/SSI11/
INTP5
P02/SSI11/
INTP5
− − −
P02/INTP7
The following operation modes can be specified in 1-bit units.
(1) Port mode
P00 to P02 function as an I/O port. P00 to P02 can be set to input or output port in 1-bit units using port mode
register 0 (PM0). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 0 (PU0).
(2) Control mode
P00 to P02 function as timer I/O, external interrupt request input, and chip select input of serial interface.
(a) TI000
This is a pin for inputting an external count clock to 16-bit timer/event counter 00 and is also for inputting a
capture trigger signal to the capture registers (CR000, CR010) of 16-bit timer/event counter 00.
(b) TI010
This is a pin for inputting a capture trigger signal to the capture register (CR000) of 16-bit timer/event counter 00.
(c) TO00
This is a timer output pin of 16-bit timer/event counter 00.
(d) INTP0, INTP5, INTP7
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.
(e) TOH1
This is a timer output pin of 8-bit timer H1
(f) TI51
This is a pin for inputting an external count clock to 8-bit timer/event counter 51.
<R>