Port Control Register C (Pcrc); Port Data Register C (Pdrc) - Renesas H8 Series Hardware Manual

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

Advertisement

9.7.1

Port Control Register C (PCRC)

PCRC selects inputs/outputs in bit units for pins to be used as general I/O ports of port C.
Bit
Bit Name
7 to 2
1
PCRC1
0
PCRC0
9.7.2

Port Data Register C (PDRC)

PDRC is a general I/O port data register of port C.
Bit
Bit Name
7 to 2
1
PC1
0
PC0
Initial
Value
R/W
Description
Reserved
0
W
When each of the port C pins, PC1 and PC0, functions as
an general I/O port, setting a PCRC bit to 1 makes the
0
W
corresponding pin an output port, while clearing the bit to
0 makes the pin an input port.
Initial
Value
R/W
Description
Reserved
0
R/W
These bits store output data for port C pins.
0
R/W
If PDRC is read while PCRC bits are set to 1, the value
stored in PDRC is read. If PDRC is read while PCRC bits
are cleared to 0, the pin states are read regardless of the
value stored in PDRC.
Section 9 I/O Ports
Rev. 3.00 Sep. 14, 2006 Page 137 of 408
REJ09B0105-0300

Advertisement

Table of Contents
loading

Table of Contents