hd64338023s Renesas Electronics Corporation., hd64338023s Datasheet - Page 251

no-image

hd64338023s

Manufacturer Part Number
hd64338023s
Description
Renesas 8-bit Single-chip Microcomputer Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.4
8.4.1
Port 4 is a 3-bit I/O port and 1-bit input port, configured as shown in figure 8.3.
8.4.2
Table 8.8 shows the port 4 register configuration.
Table 8.8
Name
Port data register 4
Port control register 4
Port mode register 2
Port Data Register 4 (PDR4)
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.
Bit
Initial value
Read/Write
Register Configuration and Description
Port 4
Overview
Port 4 Registers
7
1
Figure 8.3 Port 4 Pin Configuration
6
1
Port 4
Abbr.
PDR4
PCR4
PMR2
5
1
4
1
P4
P4
P4
P4
Rev. 7.00 Mar 10, 2005 page 209 of 652
2
R/W
R/W
W
R/W
3
2
1
0
P4
to P4
/IRQ
/TXD
/RXD
/SCK
R
3
1
3
0
0
32
32
32
. If port 4 is read while PCR4
R/W
P4
Initial Value
H'F8
H'F8
H'D8
2
0
2
Section 8 I/O Ports
R/W
P4
REJ09B0042-0700
1
0
1
Address
H'FFD7
H'FFE7
H'FFC9
R/W
P4
0
0
0

Related parts for hd64338023s