CHAPTER 6 PORT FUNCTIONS
User’s Manual U14826EJ5V0UD
65
6.2.2 Port 2
This is a 2-bit I/O port with output latches. Port 2 can be set to input or output mode in 1-bit units by using port
mode register 2 (PM2).
RESET input sets port 2 to input mode.
Figures 6-2 and 6-3 show block diagrams of port 2.
Figure 6-2. Block Diagram of P20
P20/TMO
/BSFO
RD
WR
PORT
WR
PM
Output latch
(P20)
PM20
Alternate
function
Alternate
function
Inter
nal b
u
s
Selector
PM:
Port mode register
RD:
Port 2 read signal
WR:
Port 2 write signal
Содержание PD789860
Страница 2: ...User s Manual U14826EJ5V0UD 2 MEMO ...