![](http://datasheet.mmic.net.cn/370000/UPD70F3116A_datasheet_16743820/UPD70F3116A_38.png)
CHAPTER 2 PIN FUNCTIONS
38
User’s Manual U14492EJ5V0UD
(iii) TCUD10, TCUD11 (Timer control pulse input) … Input
These pins input count operation switching signals to the up/down counter (timer 10, timer 11).
(iv) TCLR10, TCLR11 (Timer clear) … Input
These are clear signal input pins to the up/down counter (timer 10, timer 11).
(v) INTP100, INTP101 (External interrupt input) … Input
These are external interrupt request input pins and timer 10 external capture trigger input pins.
(vi) INTP110, INTP111 (External interrupt input) … Input
These are external interrupt request input pins and timer 11 external capture trigger input pins.
(3) P20 to P27 (Port 2) … I/O
Port 2 is an 8-bit I/O port in which input or output can be set in 1-bit units.
Besides functioning as an I/O port, in control mode, P20 to P27 operate as timer/counter I/O and external
interrupt request input.
An operation mode of port or control mode can be selected for each bit and specified by the port 2 mode
control register (PMC2).
(a) Port mode
P20 to P27 can be set to input or output in 1-bit units using the port 2 mode register (PM2).
(b) Control mode
P20 to P27 can be set to port or control mode in 1-bit units using PMC2.
(i) TO21 to TO24 (Timer output) … Output
These pins output a timer 2 pulse signal.
(ii) TO3 (Timer output) … Output
This pin outputs a timer 3 pulse signal.
(iii) TI2, TI3 (Timer input) … Input
These are timer 2 and timer 3 external count clock input pins.
(iv) TCLR2, TCLR3 (Timer clear) … Input
These are timer 2 and timer 3 clear signal input pins.
(v) INTP20 to INTP25 (External interrupt input) … Input
These are external interrupt request input pins and timer 2 external capture trigger input pins.
(vi) INTP30, INTP31 (External interrupt input) … Input
These are external interrupt request input pins and timer 3 external capture trigger input pins.