Port 4; Overview; Register Configuration And Description - Renesas H8 Series Hardware Manual

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

Advertisement

8.4

Port 4

8.4.1

Overview

Port 4 is a 3-bit I/O port and 1-bit input port, configured as shown in figure 8.3.
8.4.2

Register Configuration and Description

Table 8.8 shows the port 4 register configuration.
Table 8.8
Port 4 Registers
Name
Port data register 4
Port control register 4
Port mode register 2
Port Data Register 4 (PDR4)
Bit
7
Initial value
1
Read/Write
PDR4 is an 8-bit register that stores data for port 4 pins P4
bits are set to 1, the values stored in PDR4 are read, regardless of the actual pin states. If port 4 is
read while PCR4 bits are cleared to 0, the pin states are read.
Upon reset, PDR4 is initialized to H'F8.
Port 4
Figure 8.3 Port 4 Pin Configuration
Abbr.
PDR4
PCR4
PMR2
6
5
4
1
1
1
P4
/IRQ
3
0
P4
/TXD
2
32
P4
/RXD
1
32
P4
/SCK
0
32
R/W
Initial Value
R/W
H'F8
W
H'F8
R/W
H'D8
3
2
P4
P4
3
2
1
0
R
R/W
to P4
. If port 4 is read while PCR4
2
0
Rev. 7.00 Mar 10, 2005 page 209 of 652
Section 8 I/O Ports
Address
H'FFD7
H'FFE7
H'FFC9
1
0
P4
P4
1
0
0
0
R/W
R/W
REJ09B0042-0700

Advertisement

Table of Contents
loading

Table of Contents