4.2.2 Port 1
This is a 2-bit I/O port with an output latch. Port 1 can be specified in the input or output mode in 1-bit units by
using port mode register 1 (PM1). When using the P10 and P11 pins as input port pins, on-chip pull-up resistors can
be connected in 1-bit units by using pull-up resistor option register B1 (PUB1).
RESET input sets this port to input mode.
Figure 4-3 shows a block diagram of port 1.
WR
PU0
RD
WR
PORT
WR
PM
PUB1:
Pull-up resistor option register B1
PM:
Port mode register
RD:
Port 1 read signal
WR:
Port 1 write signal
78
CHAPTER 4 PORT FUNCTIONS
Figure 4-3. Block Diagram of P10 and P11
PUB10, PUB11
Output latch
(P10, P11)
PM10, PM11
User's Manual U15331EJ4V1UD
V
DD
P-ch
P10, P11