CHAPTER 5 PORT FUNCTIONS
Preliminary User’s Manual U17260EJ3V1UD
116
5.2.5 Port 4
Port 4 is a 4-bit I/O port with an output latch. Port 4 can be set to the input mode or output mode in 1-bit units
using port mode register 4 (PM4). When the P40 to P43 pins are used as an input port, use of an on-chip pull-up
resistor can be specified in 1-bit units by pull-up resistor option register 4 (PU4).
Reset signal generation sets port 4 to input mode.
Figure 5-16 shows a block diagram of port 4.
Figure 5-16. Block Diagram of P40 to P43
RD
P40 to P43
P-ch
WR
PU
WR
PORT
WR
PM
PU40 to PU43
PM40 to PM43
EV
DD
PU4
PM4
P4
Internal bus
Output latch
(P40 to P43)
Selector
P4:
Port register 4
PU4:
Pull-up resistor option register 4
PM4:
Port mode register 4
RD: Read
signal
WR
××
: Write
signal
Содержание 78K/0 Series
Страница 2: ...Preliminary User s Manual U17260EJ3V1UD 2 MEMO ...
Страница 10: ......
Страница 53: ...CHAPTER 3 CPU ARCHITECTURE Preliminary User s Manual U17260EJ3V1UD 53 Figure 3 6 Memory Map µPD78F0536 ...
Страница 120: ......