Port Control Register 8 (Pcr8); Port Data Register 8 (Pdr8) - Renesas H8 Series Hardware Manual

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

Advertisement

9.5.1

Port Control Register 8 (PCR8)

PCR8 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 8.
Bit
Bit Name
7
PCR87
6
PCR86
5
PCR85
4
PCR84
3
PCR83
2
PCR82
1
PCR81
0
PCR80
9.5.2

Port Data Register 8 (PDR8)

PDR8 is a general I/O port data register of port 8.
Bit
Bit Name
7
P87
6
P86
5
P85
4
P84
3
P83
2
P82
1
P81
0
P80
Initial
Value
R/W
Description
0
W
When each of the port 8 pins P87 to P80 functions as an
general I/O port, setting a PCR8 bit to 1 makes the
0
W
corresponding pin an output port, while clearing the bit to
0
W
0 makes the pin an input port.
0
W
0
W
0
W
0
W
0
W
Initial
Value
R/W
Description
0
R/W
PDR8 stores output data for port 8 pins.
0
R/W
If PDR8 is read while PCR8 bits are set to 1, the value
stored in PDR8 is read. If PDR8 is read while PCR8 bits
0
R/W
are cleared to 0, the pin states are read regardless of the
0
R/W
value stored in PDR8.
0
R/W
0
R/W
0
R/W
0
R/W
Section 9 I/O Ports
Rev. 1.00 Aug. 28, 2006 Page 135 of 400
REJ09B0268-0100

Advertisement

Table of Contents
loading

Table of Contents