Port 5 - NEC MuPD78F0132H User Manual

8-bit single-chip microcontrollers, 78k0/ke1plus
Table of Contents

Advertisement

4.2.6 Port 5

Port 5 is a 4-bit I/O port with an output latch. Port 5 can be set to the input mode or output mode in 1-bit units
using port mode register 5 (PM5). Use of an on-chip pull-up resistor can be specified in 1-bit units using pull-up
resistor option register 5 (PU5).
RESET input sets port 5 to input mode.
Figure 4-15 shows a block diagram of port 5.
WR
PU
RD
WR
PORT
WR
PM
PU5:
Pull-up resistor option register 5
PM5:
Port mode register 5
RD:
Read signal
WR××: Write signal
98
CHAPTER 4 PORT FUNCTIONS
Figure 4-15. Block Diagram of P50 to P53
PU5
PU50 to PU53
Selector
Output latch
(P50 to P53)
PM5
PM50 to PM53
User's Manual U16899EJ2V0UD
EV
DD
P-ch
P50 to P53

Advertisement

Table of Contents
loading

Table of Contents