![Hitachi H8/3670F-ZTAT HD64F3670 Hardware Manual Download Page 119](http://html.mh-extra.com/html/hitachi/h8-3670f-ztat-hd64f3670/h8-3670f-ztat-hd64f3670_hardware-manual_140484119.webp)
Rev. 1.0, 03/01, page 95 of 280
9.2.2
Port Data Register 2(PDR2)
PDR2 is a general I/O port data register of port 2.
Bit
Bit Name
Initial Value R/W
Description
7
6
5
4
3
−
−
−
−
−
1
1
1
1
1
−
−
−
−
−
Reserved
These bits are always read as 1 and cannot be modified.
2
1
0
P22
P21
P20
0
0
0
R/W
R/W
R/W
PDR2 stores output data for port 2 pins.
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.
9.2.3
Pin Functions
The correspondence between the register specification and the port functions is shown below.
P22/TXD pin
Register
PMR1
PCR2
Bit Name
TXD
PCR22
Pin Function
Setting Value 0
0
P22 input pin
0
1
P22 output pin
1
X
TXD output pin
Legend X:Don't care.
P21/RXD pin
Register
SCR3
PCR2
Bit Name
RE
PCR21
Pin Function
Setting Value 0
0
P21 input pin
0
1
P21 output pin
1
X
RXD input pin
Legend X:Don't care.
Summary of Contents for H8/3670F-ZTAT HD64F3670
Page 2: ...Rev 2 0 03 01 page ii of xxiv ...
Page 4: ...Rev 2 0 03 01 page iv of xxiv ...
Page 14: ...Rev 2 0 03 01 page xiv of xxiv ...
Page 20: ...Rev 1 0 03 01 page xx of xxiv ...
Page 24: ...Rev 1 0 03 01 page xxiv of xxiv ...
Page 78: ...Rev 1 0 03 01 page 54 of 280 ...
Page 112: ...Rev 1 0 03 01 page 88 of 280 ...
Page 248: ...Rev 1 0 03 01 page 224 of 280 ...