CHAPTER 3 PIN FUNCTION (µPD78070A)
3.2.4 P30 to P37 (Port 3)
These are 8-bit input/output ports. Beside serving as input/output ports, they function as timer input/output, clock
output, and buzzer output.
The following operating modes can be specified bit-wise.
(1) Port mode
These ports function as 8-bit input/output ports. They can be specified bit-wise as input or output ports with
port mode register 3 (PM3). When they are used as input ports, on-chip pull-up resistors can be connected
by defining the pull-up resistor option register L (PUOL).
(2) Control mode
These ports function as timer input/output, clock output, and buzzer output.
(a) TI1, TI2
Pin for external count clock input to the 8-bit timer/event counter.
(b) TO0 to TO2
Timer output pins.
(c) PCL
Clock output pin.
(d) BUZ
Buzzer output pin.
3.2.5 P60 to P63, P66 (Port 6)
These are 5-bit input/output ports. Besides serving as input/output ports, they are used for external memory
control.
P60 to P63 can drive LEDs directly.
The following operating modes can be specified bit-wise.
(1) Port mode
These ports function as 5-bit input/output ports. They can be specified bit-wise as input or output ports with
port mode register 6 (PM6).
P60 to P63 are N-ch open-drain outputs.
When P66 is used as input port, on-chip pull-up resistors can be connected by defining the pull-up resistor
option register L (PUOL).
(2) Control mode
These ports function as external wait signal output pin (WAIT) to the external memory. When a pin is used
as a external wait signal output, the on-chip pull-up resistor is automatically disabled.
Caution When external wait is not used, P66 can be used as an input/output port.
61