
81
CHAPTER 4 PIN FUNCTION (
μ
PD780024Y, 780034Y SUBSERIES)
4.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 setting
pull-up resistor option register 7 (PU7). P70 and P71 also become a 16-bit timer/event counter capture trigger
signal input pin with a valid edge input.
(2) Control mode
Port 7 functions as timer input/output, clock output and buzzer output.
(a) TI00
Pin for external count clock input to the 16-bit timer/event counter and pin for capture trigger signal input
to the 16-bit timer/event counter capture register (CR01).
(b) TI01
Pin for capture trigger signal input to the 16-bit timer/event counter capture resister (CR00).
(c) TI50, TI51
Pin for external count clock input to the 8-bit timer/event counter.
(d) TO0, TO50, TO51
Timer output pin.
(e) PCL
Clock output pin.
(f)
BUZ
Buzzer output pin.
4.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
.
4.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.
4.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.