Programmable I/O Port
Mitsubishi microcomputers
M30221 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
P00 to P07, P120 to P125
Direction register
“1”
“1”
Data bus
Timer A
overflow
Port latch
Segment output
DQ
CK
LCD drive timing
VL3/VCC VL2/VCC VL3/VCC
Interface logic
level shift circuit
Port/segment
Port ON/OFF
VL1/VSS
P10 to P17, P20 to P27
Data bus
Timer A
overflow
Intermittent pull-up control
Pull-up selection
Direction register
Port latch
“1”
DQ
CK
P30 to P33, P41, P47, P50 to P53, P56,
P62, P74 to P76, P81
Pull-up selected
Direction register
QD
CK
Intermittent pull-up control
Data bus
Port latch
P34, P35
Pull-up selection
Direction register
Data bus
Port latch
Figure 1.19.1. Programmable I/O ports (1)
19