105
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15798EJ2V0UD
4.2.10 Port 11
Port 11 is a 4-bit I/O port with an output latch. P110 to P113 pins can be set to input mode/output mode in 1-bit
units using port mode register 11 (PM11).
This port can also be used for LCD controller/driver segment output. This port can be switched between an I/O
port and a segment output port in 1-bit units by pin function switching register 11 (PF11).
RESET input sets port 11 to input mode.
Figure 4-17 shows a block diagram of port 11.
Figure 4-17. Block Diagram of P110 to P113
PF:
Pin function switching register
PM: Port mode register
RD: Port 11 read signal
WR: Port 11 write signal
RD
P110/S36
to
P113/S39
WR
PORT
WR
PM
Output latch
(P110 to P113)
PM110 to PM113
Selector
Segment output
WR
PF
PF110 to PF113
Selector
Internal bus