Datasheet

CHAPTER 4 PORT FUNCTIONS
User’s Manual U18698EJ1V0UD
86
4.2.5 Port 10
Port 10 is a 2-bit I/O port with an output latch. Port 10 can be set to the input mode or output mode in 1-bit units
using port mode register 10 (PM10). When the P100 and P101 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 10 (PU10).
This port can also be used for segment output.
Reset signal generation sets port 10 to input mode.
Figure 4-8 shows a block diagram of port 10.
Figure 4-8. Block Diagram of P100, P101
P100/SEG4,
P101/SEG5
RD
WR
PORT
WR
PM
Output latch
(P100, P101)
PM100, PM101
PM10
WR
PU
PU100, PU101
P-ch
PU10
Selector
Selector
Internal bus
P10
V
DD
WR
PF
PF10ALL
PFALL
LCD controller/driver
P10: Port register 10
PU10: Pull-up resistor option register 10
PM10: Port mode register 10
PFALL: Port function register ALL
RD: Read signal
WR××: Write signal