CHAPTER 2 PIN FUNCTIONS
35
User’s Manual U15195EJ5V0UD
(2) P10 to P12 (Port 1) … I/O
P10 to P12 function as a 3-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, P10 to P12 operate as timer/counter I/O and external
interrupt request input.
Port or control mode can be selected as the operation mode for each bit, specified by the port 1 mode control
register (PMC1).
(a) Port mode
P10 to P12 can be set to input or output in 1-bit units using the port 1 mode register (PM1).
(b) Control mode
P10 to P12 can be set to port or control mode in 1-bit units using PMC1.
(i) TO10 (Timer output) … Output
This pin outputs the timer 10 pulse signal.
(ii) TIUD10 (Timer count pulse input) … Input
This is an external count clock input pin to the up/down counter (timer 10).
(iii) TCUD10 (Timer control pulse input) … Input
This pin inputs count operation switching signals to the up/down counter (timer 10).
(iv) TCLR10 (Timer clear) … Input
This is a clear signal input pin to the up/down counter (timer 10).
(v) INTP100, INTP101 (External interrupt input) … Input
These are external interrupt request input pins and timer 10 external capture trigger input pins.