
CHAPTER 4 PORT FUNCTIONS
User’s Manual U17854EJ9V0UD
117
4.2.7 Port 6
Port 6 is a 4-bit I/O port with an output latch. Port 6 can be set to the input mode or output mode in 1-bit units
using port mode register 6 (PM6).
The output of the P60 to P63 pins is N-ch open-drain output (6 V tolerance).
This port can also be used for serial interface data I/O and clock I/O.
Reset signal generation sets port 6 to input mode.
Figures 4-20 and 4-21 show block diagrams of port 6.
Caution
When using P60/SCL0 or P61/SDA0 as a general-purpose port, stop the operation of serial
interface IIC0.
Figure 4-20. Block Diagram of P60 and P61
P60/SCL0,
P61/SDA0
RD
WRPORT
WRPM
Alternate
function
Output latch
(P60, P61)
PM60, PM61
Alternate
function
Internal
bus
Selector
PM6
P6
P6:
Port register 6
PM6:
Port mode register 6
RD:
Read signal
WR
××: Write signal