Datasheet

Section 9 I/O Ports
Rev. 2.00 Sep. 23, 2005 Page 119 of 472
REJ09B0160-0200
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.
9.3.2 Port Data Register 3 (PDR3)
PDR3 is a general I/O port data register of port 3.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
P37
P36
P35
P34
P33
P32
P31
P30
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PDR3 stores output data for port 3 pins.
If PDR3 is read while PCR3 bits are set to 1, the value
stored in PDR3 is read. If PDR3 is read while PCR3 bits
are cleared to 0, the pin states are read regardless of the
value stored in PDR3.