75
CHAPTER 4 PIN FUNCTION (
μ
PD780058Y Subseries)
4.2.8 P70 to P72 (Port 7)
This is a 3-bit input/output port. In addition to its use as an input/output port, it also has serial interface data input/
output and clock input/output functions.
The following operating modes can be specified bit-wise.
(1) Port mode
This port functions as a 3-bit input/output port. Bit-wise specification as an input port or output port is possible
by means of port mode register 7 (PM7). When used as an input port, on-chip pull-up resistors can be used
by defining the pull-up resistor option register L (PUOL).
(2) Control mode
This port functions as serial interface data input/output and clock input/output.
(a) SI2, SO2
Serial data input/output pins of serial interface
(b) SCK2
Serial clock input/output pin of serial interface
(c) RxD0, TxD0
Serial interface serial data input/output pins of asynchronous serial interface
(d) ASCK
Serial clock input/output pin of asynchronous serial interface
Caution When this port is used as a serial interface pin, the I/O and output latches must be set
according to the function the user requires.
For the setting, see to the operation mode setting list in Table 19-2 Serial Interface Channel
2.
4.2.9 P120 to P127 (Port 12)
This is an 8-bit input/output port. Besides serving as an input/output port, it functions as a real-time output port.
The following operating modes can be specified bit-wise.
(1) Port mode
This port functions as an 8-bit input/output port. It can be specified bit-wise as an input or output port with
port mode register 12 (PM12). When they are used as an input port, on-chip pull-up resistors can be used
by defining the pull-up resistor option register H (PUOH).
(2) Control mode
This port functions as a real-time output port (RTP0 to RTP7) outputting data in synchronization with a trigger.