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

8. I/O Ports
8.6.2

Register Configuration and Description

Table 8.14 shows the port 5 register configuration.
Table 8.14 Port 5 Registers
Name
Port data register 5
Port control register 5
Port pull-up control register 5
Port mode register 5
Port Data Register 5 (PDR5)
Bit
P5
Initial value
Read/Write
R/W
PDR5 is an 8-bit register that stores data for port 5 pins P5
bits are set to 1, the values stored in PDR5 are read, regardless of the actual pin states. If port 5 is
read while PCR5 bits are cleared to 0, the pin states are read.
Upon reset, PDR5 is initialized to H'00.
Port Control Register 5 (PCR5)
Bit
PCR5
Initial value
Read/Write
PCR5 is an 8-bit register for controlling whether each of the port 5 pins P5
input pin or output pin. Setting a PCR5 bit to 1 makes the corresponding pin an output pin, while
clearing the bit to 0 makes the pin an input pin.
Upon reset, PCR5 is initialized to H'00.
PCR5 is a write-only register. All bits are read as 1.
Rev.3.00 Jul. 19, 2007 page 198 of 532
REJ09B0397-0300
Abbr.
PDR5
PCR5
PUCR5
PMR5
7
6
5
P5
P5
7
6
0
0
0
R/W
R/W
7
6
5
PCR5
PCR5
7
6
0
0
0
W
W
W
R/W
Initial Value
R/W
H'00
W
H'00
R/W
H'00
R/W
H'00
4
3
P5
P5
5
4
3
0
0
R/W
R/W
to P5
7
4
3
PCR5
PCR5
5
4
0
0
W
W
Address
H'FFD8
H'FFE8
H'FFE2
H'FFCC
2
1
P5
P5
2
1
0
0
R/W
R/W
. If port 5 is read while PCR5
0
2
1
PCR5
PCR5
3
2
0
0
W
W
to P5
functions as an
7
0
0
P5
0
0
R/W
0
PCR5
1
0
0
W

Advertisement

Table of Contents
loading

Table of Contents