23
μ
PD750064, 750066, 750068, 750064(A), 750066(A), 750068(A)
Data Sheet U10165EJ2V0DS00
6. PERIPHERAL HARDWARE FUNCTION
6.1 Port
The following three types of I/O ports are available.
CMOS input (PORT0, 1, 11)
CMOS input/output (PORT2, 3, 6)
N-ch open-drain input/output (PORT4, 5)
: 12
: 12
: 8
Total
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 alternate-function
pins function as output ports depending on the operation mode.
Also used for the INT4, SCK,
SO/SB0, SI/SB1 pins.
PORT1
4-bit input only port.
Also used for the INT0 to
INT2/TI1, TI0 pins.
PORT2
4-bit input/output
Can be set to input mode or output mode in 4-bit units.
Also used for the PTO0,
PTO1, PCL, BUZ pins.
PORT3
Can be set to input mode or output mode in 1-bit units.
–
PORT4
PORT5
4-bit input/output
(N-ch open drain,
13 V withstand
voltage)
Can be set to input mode or output
mode in 4-bit units.
On-chip pull-up
resistor can be specified in 1-bit
units by mask option.
Ports 4 and 5 are paired
and data can be input/
output in 8-bit units.
PORT6
4-bit input/output
Can be set to input mode or output mode in 1-bit units.
Also used for the KR0 to
KR3, AN4 to AN7 pins.
PORT11
4-bit input
4-bit input only port.
Also used for the AN0 to
AN3 pins.
6.2 Clock Generator
The clock generator generates clocks which are supplied to the peripheral hardware in the CPU. Figure 6-1
shows the configuration of the clock generator.
Operation of the clock generator is determined by the processor clock control register (PCC) and system clock
control register (SCC).
Two types of system clocks are available; main system clock and subsystem clock.
The instruction execution time can be changed.
0.95
μ
s, 1.91
μ
s, 3.81
μ
s, 15.3
μ
s (@ 4.19-MHz operation with main system clock)
0.67
μ
s, 1.33
μ
s, 2.67
μ
s, 10.7
μ
s (@ 6.0-MHz operation with main system clock)
122
μ
s (@ 32.768-kHz operation with subsystem clock)