HD64336901G Renesas Technology, HD64336901G Datasheet - Page 144

no-image

HD64336901G

Manufacturer Part Number
HD64336901G
Description
(HD64xxx Series) 16-BIT MICROCONTROLLER
Manufacturer
Renesas Technology
Datasheet
9.2.2
PDR2 is a general I/O port data register of port 2.
9.2.3
The correspondence between the register specification and the port functions is shown below.
[Legend]
X:
[Legend]
X:
Rev. 1.00, 11/03, page 116 of 376
Bit
7 to 3
2
1
0
Register
Bit Name
Setting
value
Register
Bit Name
Setting
value
P22/TXD pin
P21/RXD pin
Don't care
Don't care
Port Data Register 2 (PDR2)
Bit Name
P22
P21
P20
Pin Functions
PMR1
0
1
SCR3
RE
0
1
TXD
Initial
Value
All 1
0
0
0
PCR2
PCR22
0
1
X
PCR2
PCR21
0
1
X
R/W
R/W
R/W
R/W
Description
Reserved
These bits are always read as 1.
These bits store output data for port 2 pins.
If PDR2 is read while PCR2 bits are set to 1, the value
stored in PDR2 is read. If PDR2 is read while PCR2 bits
are cleared to 0, the pin states are read regardless of the
value stored in PDR2.
Pin Function
P22 input pin
P22 output pin
TXD output pin
Pin Function
P21 input pin
P21 output pin
RXD input pin

Related parts for HD64336901G