50
User’s Manual U12697EJ3V0UM
CHAPTER 2 PIN FUNCTIONS
(6) P50 to P57 (Port 5)
These pins constitute an 8-bit I/O port. In addition to I/O port pins, they also function as an address bus. LEDs
can be directly driven.
The following operation modes can be specified in 1-bit units.
(a) Port mode
These pins function as an 8-bit I/O port. Input or output can be specified in 1-bit units by means of the port
5 mode register. When used as an input port, pull-up resistors can be connected in 8-bit units with bit 5 (PUO5)
of the pull-up resistor option register.
(b) Control mode
These pins function as the middle address bus pins (A8 to A15) in the external memory expansion mode.
If PUO5 = 1, pull-up resistors can be connected.
(7) P60 to P67 (Port 6)
These pins constitute an 8-bit I/O port. In addition to I/O port pins, they also function as an address bus and
control signal outputs in the external memory expansion mode.
The following operation modes can be specified in 1-bit units.
(a) Port mode
These pins function as an 8-bit I/O port. Input or output can be specified in 1-bit units by means of the port
6 mode register. When used as an input port, pull-up resistors can be connected in 8-bit units with bit 6 (PUO6)
of the pull-up resistor option register.
(b) Control mode
These pins function as the higher address bus pins (A16 to A19) in the external memory expansion mode.
P64 to P67 function as the control signal output pins (RD, WR, WAIT, ASTB) in the external memory
expansion mode. If PUO6 = 1 in the external memory expansion mode, pull-up resistors can be connected.
Caution When external waits are not used in the external memory expansion mode, P66 can be used
as an I/O port pin.
(8) P70 to P72 (Port 7)
These pins constitute a 3-bit I/O port. In addition to I/O port pins, they also function as the data I/O and clock
I/O of the serial interface.
The following operation modes can be specified in 1-bit units.
(a) Port mode
These pins function as a 3-bit I/O port. Input or output can be specified in 1-bit units by means of the port
7 mode register. Regardless of whether the input mode or output mode is specified, pull-up resistors can
be connected in 1-bit units using pull-up resistor option register 7.
(b) Control mode
These pins function as data I/O and clock I/O for the serial interface.