83
CHAPTER 4 PORT FUNCTIONS
Preliminary User’s Manual U16035EJ1V0UM
4.2.7 Port 7
Port 7 is a 6-bit I/O port with output latch. The P70 to P75 pins can specify the input mode/output mode in 1-bit
units with port mode register 7 (PM7). An on-chip pull-up resistor of P70 to P75 pins can be used for them in 1-bit
units with pull-up resistor option register 7 (PU7).
This port can also be used as a timer I/O, clock output, and buzzer output.
RESET input sets port 7 to input mode.
Figures 4-11 and 4-12 show block diagrams of port 7.
Figure 4-11. Block Diagram of P70 to P73
Internal bus
V
DD0
P-ch
P70/TI00/TO0,
P71/TI01,
P72/TI50/TO50,
P73/TI51/TO51
WR
PU
RD
WR
PORT
WR
PM
PU70 to PU73
Alternate
function
Output latch
(P70 to P73)
PM70 to PM73
Selector
Alternate
function
PU:
Pull-up resistor option register
PM: Port mode register
RD: Port 7 read signal
WR: Port 7 write signal