
76
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15104EJ2V0UD
4.2.6 Port 6
Port 6 is an 8-bit I/O port with an output latch. Input or output mode can be specified for port 6 in 1-bit units using
port mode register 6 (PM6).
Reset input sets port 6 to the input mode.
Figure 4-11 shows the block diagram of port 6.
Figure 4-11. Block Diagram of P60 to P67
PM:
Port mode register
RD:
Port 6 read signal
WR: Port 6 write signal
WR
PM
WR
PORT
RD
Selector
Output latch
(P60 to P67)
PM60 to PM67
Internal bus
P60 to P67