
CHAPTER 6 PORT FUNCTIONS
User’s Manual U14826EJ5V0UD
64
6.2.1 Port 0
This is an 8-bit I/O port with an output latch. Port 0 can be set to input or output mode in 1-bit units by using port
mode register 0 (PM0).
RESET input sets port 0 to input mode.
Figure 6-1 shows a block diagram of port 0.
Figure 6-1. Block Diagram of P00 to P07
Internal bus
RD
WR
PORT
WR
PM
Output latch
(P00 to P07)
PM00 to PM07
P00 to P07
Selector
PM:
Port mode register
RD:
Port 0 read signal
WR: Port 0 write signal
Содержание PD789860
Страница 2: ...User s Manual U14826EJ5V0UD 2 MEMO ...