23
PD750064, 750066, 750068, 750064(A), 750066(A), 750068(A)
Data Sheet U10165EJ2V1DS
6. PERIPHERAL HARDWARE FUNCTION
6.1 Port
The following three types of I/O ports are available.
CMOS input (PORT0, 1, 11)
: 12
CMOS input/output (PORT2, 3, 6)
: 12
N-ch open-drain input/output (PORT4, 5)
: 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
Also used for the INT4, SCK,
pins function as output ports depending on the operation mode.
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
4-bit input/output
Can be set to input mode or output
Ports 4 and 5 are paired
PORT5
(N-ch open drain,
mode in 4-bit units. On-chip pull-up
and data can be input/
13 V withstand
resistor can be specified in 1-bit
output in 8-bit units.
voltage)
units by mask option.
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)