
23
μ
PD753104, 753106, 753108
6. PERIPHERAL HARDWARE FUNCTION
6.1 Digital I/O Port
There are three kinds of I/O port.
CMOS input ports (PORT 0, 1)
CMOS input/output ports (PORT 2, 3, 6, 8, 9) : 20
N-ch open-drain input/output ports (PORT 5)
Total
: 8
: 4
32
Table 6-1. Types and Features of Digital Ports
Port name
Function
Operation and features
Remarks
PORT0
4-bit input
When the serial interface function is used, the dual
function pins function as output ports depending on the
operation mode.
4-bit input only port.
Also used for the INT4, SCK,
SO/SB0, SI/SB1 pins.
PORT1
Also used for the INT0-INT2/
TI1/TI2, TI0 pins.
Also used for the PTO0-
PTO2/PCL, BUZ pins.
Also used for the LCDCL,
SYNC pins.
—
PORT2
4-bit input/
output
Can be set to input mode or output mode in 4-bit units.
PORT3
Can be set to input mode or output mode bit-wise.
PORT5
4-bit input/
output
(N-ch open-
drain, 13 V
withstand
voltage)
4-bit input/
output
Can be set to input mode or output mode in 4-bit units.
On-chip pull-up resistor can be specified bit-wise
by mask option.
PORT6
Can be set to input mode or output mode bit-wise.
Also used for the KR0-KR3 pins.
PORT8
Can be set to input
mode or output mode
in 4-bit units.
Ports 8 and 9 are paired
and data can be input/
output in 8-bit units.
Also used for the S20-S23 pins.
PORT9
Also used for the S16-S19 pins.
6.2 Clock Generator
The clock generator is a device that generates the clock which is supplied to peripheral hardware on the CPU
and is configured as shown in Figure 6-1.
The clock generator operates according to how the processor clock control register (PCC) and system clock
control register (SCC) are set.
There are two kinds of clocks, main system clock and subsystem clock.
The instruction execution time can also be changed.
0.95, 1.91, 3.81, 15.3
μ
s (main system clock: in 4.19-MHz operation)
0.67, 1.33, 2.67, 10.7
μ
s (main system clock: in 6.0-MHz operation)
122
μ
s (subsystem clock: in 32.768-kHz operation)