Port Data Register 2 (Pdr2); Pin Functions - Renesas H8/36912 Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8/36912 Series:
Table of Contents

Advertisement

9.2.2

Port Data Register 2 (PDR2)

PDR2 is a general I/O port data register of port 2.
Bit
Bit Name
7 to 3
2
P22
1
P21
0
P20
9.2.3

Pin Functions

The correspondence between the register specification and the port functions is shown below.
• P22/TXD pin
Register
PMR1
Bit Name
TXD
Setting
0
value
1
[Legend]
X:
Don't care
• P21/RXD pin
Register
SCR3
Bit Name
RE
Setting
0
value
1
[Legend]
X:
Don't care
Rev. 1.00, 11/03, page 116 of 376
Downloaded from
Elcodis.com
electronic components distributor
Initial
Value
R/W
Description
All 1
Reserved
These bits are always read as 1.
0
R/W
These bits store output data for port 2 pins.
0
R/W
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
0
R/W
are cleared to 0, the pin states are read regardless of the
value stored in PDR2.
PCR2
PCR22
Pin Function
0
P22 input pin
1
P22 output pin
X
TXD output pin
PCR2
PCR21
Pin Function
0
P21 input pin
1
P21 output pin
X
RXD input pin

Advertisement

Table of Contents
loading

Table of Contents