
69
CHAPTER 3 PIN FUNCTION (
μ
PD780024, 780034 SUBSERIES)
3.2.8 P70 to P75 (Port 7)
These are 6-bit input/output ports. Besides serving as input/output ports, they function as a timer input/output,
clock output, and buzzer output.
The following operating modes can be specified bit-wise.
(1) Port mode
Port 7 functions as a 6-bit input/output port. Bit-wise specification as an input port or output port is possible by
means of port mode register 7 (PM7). When used as input ports, on-chip pull-up resistors can be used by defining
the 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 input/output, 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
8-bit timer/event counter external count clock input pins.
(d) TO0, TO50, and TO51
Timer output pins.
(e) PCL
Clock output pin.
(f)
BUZ
Buzzer output pin.
3.2.9 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
.
3.2.10 AV
DD
This is an analog power supply pin of A/D converter. Always use the same voltage as that of the V
DD0
pin even
when no A/D converter is used.
3.2.11 AV
SS
This is a ground voltage pin of A/D converter. Always use the same voltage as that of the V
SS0
pin even when
no A/D converter is used.