Datasheet

Section 9 I/O Ports
Rev. 3.00 Mar. 15, 2006 Page 121 of 526
REJ09B0060-0300
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 values
stored in PDR3 are read. If PDR3 is read while PCR3
bits are cleared to 0, the pin states are read regardless
of the value stored in PDR3.
9.3.3 Pin Functions
The correspondence between the register specification and the port functions is shown below.
P37 pin
Register PCR3
Bit Name PCR37 Pin Function
Setting Value 0 P37 input pin
1 P37 output pin
P36 pin
Register PCR3
Bit Name PCR36 Pin Function
Setting Value 0 P36 input pin
1 P36 output pin