Register Configuration And Description - Renesas F-ZTAT H8 Series Hardware Manual

8-bit single-chip microcomputer
Hide thumbs Also See for F-ZTAT H8 Series:
Table of Contents

Advertisement

Figure 8.2 (b) H8/3854 Group Port 2 Pin Configuration
8.3.2

Register Configuration and Description

Table 8.5 shows the port 2 register configuration.
Table 8.5
Port 2 Registers
Name
Port data register 2
Port control register 2
Port mode register 2
Port mode register 4
Port Data Register 2 (PDR2)
Bit
P2
Initial value
Read/Write
R/W
PDR2 is an 8-bit register that stores data for pins P2
are set to 1, the values stored in PDR2 are read, regardless of the actual pin states. If port 2 is read
while PCR2 bits are cleared to 0, the pin states are read.
Upon reset, PDR2 is initialized to H'00.
Port 2
Abbr.
PDR2
PCR2
PMR2
PMR4
7
6
5
P2
P2
7
6
0
0
0
R/W
R/W
P2
7
P2
6
P2
5
P2
4
P2
3
P2
2
P2
1
P2 /IRQ /ADTRG
0
4
R/W
Initial Value
R/W
H'00
W
H'00
R/W
H'C0
R/W
H'00
4
3
P2
P2
5
4
3
0
0
R/W
R/W
through P2
7
0
Rev.3.00 Jul. 19, 2007 page 183 of 532
Address
H'FFD5
H'FFE5
H'FFC9
H'FFCB
2
1
P2
P2
2
1
0
0
R/W
R/W
. If port 2 is read while PCR2 bits
REJ09B0397-0300
8. I/O Ports
0
P2
0
0
R/W

Advertisement

Table of Contents
loading

Table of Contents