Data Sheet U14121EJ2V0DS00
37
μ
PD784214A, 784215A, 784216A, 784217A, 784218A, 784214AY, 784215AY, 784216AY, 784217AY, 784218AY
www.DataSheet4U.com
Table 7-1. Port Functions
Port Name
Pin Name
Function
Specification of Pull-up Resistor
Connection by Software
Port 0
P00 to P06
Input/output can be specified in 1-bit units
Can be specified in 1-bit units
Port 1
P10 to P17
Input port
Port 2
P20 to P27
Input/output can be specified in 1-bit units
Can be specified in 1-bit units
Port 3
P30 to P37
Input/output can be specified in 1-bit units
Can be specified in 1-bit units
Port 4
P40 to P47
Input/output can be specified in 1-bit units
LEDs can be driven directly
Can be specified in 1-port units
Port 5
P50 to P57
Input/output can be specified in 1-bit units
LEDs can be driven directly
Can be specified in 1-port units
Port 6
P60 to P67
Input/output can be specified in 1-bit units
Can be specified in 1-port units
Port 7
P70 to P72
Input/output can be specified in 1-bit units
Can be specified in 1-bit units
Port 8
P80 to P87
Input/output can be specified in 1-bit units
Can be specified in 1-bit units
Port 9
P90 to P95
N-ch open-drain I/O port
Input/output can be specified in 1-bit units
LEDs can be driven directly
Port 10
P100 to P103
Input/output can be specified in 1-bit units
Can be specified in 1-bit units
Port 12
P120 to P127
Input/output can be specified in 1-bit units
Can be specified in 1-bit units
Port 13
P130, P131
Input/output can be specified in 1-bit units
7.2 Clock Generator
An on-chip clock generator necessary for operation is provided. This clock generator has a frequency divider. If
high-speed operation is not necessary, the internal operating frequency can be lowered by the frequency divider to
reduce the current consumption.
Figure 7-2. Block Diagram of Clock Generator
XT2
XT1
X1
X2
STOP or bit 2 (MCK)
of the standby control
register (STBC) is set
to 1 when the subclock
is selected as the CPU
clock
Main system
clock
oscillator
Subsystem
clock
oscillator
f
XT
Watch timer,
clock output function
Clock to
peripheral hardware
CPU
clock
(f
CPU
)
Frequency
divider
IDLE
controller
Prescaler
Prescaler
STOP, IDLE
controller
HALT
controller
f
X
f
X
2
f
XX
2
f
XX
2
2
f
XX
2
3
f
XX
S
S
Internal system
clock
(f
CLK
)