Datasheet

Section 9 I/O Ports
Rev. 2.00 Sep. 23, 2005 Page 107 of 444
REJ09B0068-0200
9.3 Port 3
Port 3 is a general I/O port. Each pin of the port 3 is shown in figure 9.3.
P37
P36
P35
P34
P33
P32
P31
P30
Port 3
Figure 9.3 Port 3 Pin Configuration
Port 3 has the following registers.
Port control register 3 (PCR3)
Port data register 3 (PDR3)
9.3.1 Port Control Register 3 (PCR3)
PCR3 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 3.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
PCR37
PCR36
PCR35
PCR34
PCR33
PCR32
PCR31
PCR30
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
Setting a PCR3 bit to 1 makes the corresponding pin an
output port, while clearing the bit to 0 makes the pin an
input port.