Datasheet

78K0/Ix2 CHAPTER 2 PIN FUNCTIONS
R01UH0010EJ0500 Rev.5.00 30
Feb 28, 2012
(f) CMPCOM
This is a comparator common input pin.
Caution ANI0/P20 to ANI7/P27 are set in the analog input mode after release of reset.
2.2.3 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 input and data I/O for serial interface.
78K0/IY2 78K0/IA2 78K0/IB2
16 Pins 20 Pins 30 Pins 32 Pins
P30/TOH1/TI51/INTP1
P31/TOX00/INTP2/TOOLC1 P31/TOX00/INTP2/TOOLC1 P31/TOX00/INTP2/TOOLC1 P31/TOX00/INTP2/TOOLC1
P32/TOX01/INTP3/TOOLD1 P32/TOX01/INTP3/TOOLD1 P32/TOX01/INTP3/TOOLD1 P32/TOX01/INTP3/TOOLD1
P33/TOX10 P33/TOX10 P33/TOX10 P33/TOX10
P34/TOX11/INTP4/<TOH1>/
<TI51>
P34/TOX11/INTP4/<TOH1>/
<TI51>
P34/TOX11/INTP4
P34/TOX11/INTP4/<TOH1>/
<TI51>
P35/SCK11 P35/SCK11
P36/SI11 P36/SI11
P37/SO11 P37/SO11
Remark Functions in angle brackets < > can be assigned by setting the input switch control register (MUXSEL).
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 input and data I/O for serial interface.
(a) INTP1 to INTP4
These are the 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) TOH1
This is a timer output pin of 8-bit timer H1.
(d) TOX00, TOX01
This is a timer output pin of 16-bit timer X0.
(e) TOX10, TOX11
This is a timer output pin of 16-bit timer X1.