CHAPTER 4 PORT FUNCTIONS
User’s Manual U15075EJ2V1UD
80
4.2.1 Port 0
This is a 4-bit I/O port with an output latch. Port 0 can be specified in the input or output mode in 1-bit units by
using the port mode register 0 (PM0). When the P00 to P03 pins are used as input port pins, on-chip pull-up resistors
can be connected in 4-bit units by setting pull-up resistor option register 0 (PU0).
Port 0 is set in the input mode when the RESET signal is input.
Figure 4-3 shows a block diagram of port 0.
Figure 4-3. Block Diagram of P00 to P03
WR
KRM00
V
DD
P00/KR0 to
P03/KR3
WR
PUO
RD
WR
PORT
W
RPM
PU00
PM00 to PM03
KRM000
P-ch
Internal bus
Selector
Output latch
(P00 to P03)
Alternate function
KRM00: Key return mode register 00
PU0:
Pull-up resistor option register 0
PM:
Port mode register
RD:
Port 0 read signal
WR:
Port 0 write signal
Содержание U789436 Series
Страница 2: ...2 User s Manual U15075EJ2V1UD MEMO ...
Страница 7: ...User s Manual U15075EJ2V1UD 7 MEMO ...