Datasheet
Section 8 I/O Ports
Rev. 4.00 Sep 27, 2006 page 236 of 1130
REJ09B0327-0400
8.4.3 Pin Functions in Each Mode
Modes 1, 2, and 3 (EXPE = 1)
In modes 1, 2, and 3 (when EXPE = 1), port 3 pins automatically function as data I/O pins. The
port 3 pin functions are shown in figure 8.10.
D15 (I/O)
D14 (I/O)
D13 (I/O)
D12 (I/O)
D11(I/O)
D10 (I/O)
D9 (I/O)
D8 (I/O)
Port 3
Figure 8.10 Port 3 Pin Functions (Modes 1, 2, and 3 (EXPE = 1))
Modes 2 and 3 (EXPE = 0)
In modes 2 and 3 (when EXPE = 0), port 3 functions as host interface data bus I/O pins (HDB7 to
HDB0) or as I/O ports. When the HI12E bit is set to 1 in SYSCR2 and a transition is made to
slave mode, port 3 functions as the host interface data bus. In slave mode, P3DR and P3DDR
should be cleared to H'00. When the HI12E bit is cleared to 0, port 3 functions as an I/O port, and
input or output can be specified on a bit-by-bit basis. When a bit in P3DDR is set to 1, the
corresponding pin functions as an output port, and when cleared to 0, as an input port.
The port 3 pin functions are shown in figure 8.11.