39
CHAPTER 2 PIN FUNCTION
Preliminary User’s Manual U16035EJ1V0UM
2.2.7 P70 to P75 (Port 7)
These are 6-bit I/O ports. Besides serving as I/O ports, they function as a timer I/O, clock output, and buzzer output.
The following operating modes can be specified in 1-bit units.
(1) Port mode
Port 7 functions as a 6-bit I/O port. They can be specified as an input port or output port in 1-bit units with port
mode register 7 (PM7). On-chip pull-up resistors can be used by setting pull-up resistor option register 7 (PU7).
P70 and P71 are also 16-bit timer/event counter capture trigger signal input pins with a valid edge input.
(2) Control mode
Port 7 functions as timer I/O, clock output, and buzzer output.
(a) TI00
External count clock input pin to 16-bit timer/event counter and capture trigger signal input pin to 16-bit timer/
event counter capture register (CR01).
(b) TI01
Capture trigger signal input pin to 16-bit timer/event counter capture register (CR00).
(c) TI50 and TI51
External count clock input pins to 8-bit timer/event counter.
(d) TO0, TO50, and TO51
Timer output pins.
(e) PCL
Clock output pin.
(f)
BUZ
Buzzer output pin.
2.2.8 AV
REF
This is an A/D converter reference voltage input pin.
When no A/D converter is used, connect this pin to V
SS0
.
2.2.9 AV
DD
This is an analog power supply pin of A/D converter. Always use the same potential as that of the V
DD0
pin or V
DD1
pin even when no A/D converter is used.
2.2.10 AV
SS
This is a ground potential pin of A/D converter. Always use the same potential as that of the V
SS0
pin or V
SS1
pin
even when no A/D converter is used.
2.2.11 RESET
This is a low-level active system reset input pin.