122
CHAPTER 5 PORT FUNCTIONS
User’s Manual U12697EJ3V0UM
5.2.6 Port 5
Port 5 is an 8-bit I/O port with output latch. The P50 to P57 pins can specify the input mode/output mode in 1-
bit units with the port 5 mode register. When the P50 to P57 pins are used as input ports, a pull-up resistor can be
connected in 8-bit units with bit 5 (PUO5) of the pull-up resistor option register.
Port 5 can drive LEDs directly.
Port 5 supports the address bus function in the external memory expansion mode as an alternate function.
RESET input sets port 5 to the input mode.
Figure 5-11 shows a block diagram of port 5.