Hitachi H8S/2678 Series Reference Manual page 278

16-bit single-chip microcomputer
Table of Contents

Advertisement

Port C Data Register (PCDR)
Bit
7
PC7DR
Initial value
0
Read/Write
R/W
PCDR is an 8-bit readable/writable register that stores output data for the port C pins (PC7 to
PC0).
PCDR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode.
Port C Register (PORTC)
Bit
7
PC7
Initial value
—*
Read/Write
R
Note: * Determined by the state of pins PC7 to PC0.
PORTC is an 8-bit read-only register that shows the pin states. PORTC cannot be written to;
writing of output data for the port C pins (PC7 to PC0) must always be performed on PCDR.
If a port C read is performed while PCDDR bits are set to 1, the PCDR values are read. If a port C
read is performed while PCDDR bits are cleared to 0, the pin states are read.
After a reset and in hardware standby mode, PORTC contents are determined by the pin states, as
PCDDR and PCDR are initialized. PORTC retains its prior state in software standby mode.
Port C MOS Pull-Up Control Register (PCPCR)
Bit
7
PC7PCR PC6PCR PC5PCR PC4PCR PC3PCR PC2PCR PC1PCR PC0PCR
Initial value
0
Read/Write
R/W
PCPCR is an 8-bit readable/writable register that controls the MOS input pull-up function
incorporated into port C on a bit-by-bit basis.
6
5
PC6DR
PC5DR
0
0
R/W
R/W
6
5
PC6
PC5
—*
—*
R
R
6
5
0
0
R/W
R/W
4
3
PC4DR
PC3DR
0
0
R/W
R/W
4
3
PC4
PC3
—*
—*
R
R
4
3
0
0
R/W
R/W
2
1
PC2DR
PC1DR
0
0
R/W
R/W
2
1
PC2
PC1
—*
—*
R
R
2
1
0
0
R/W
R/W
0
PC0DR
0
R/W
0
PC0
—*
R
0
0
R/W
261

Advertisement

Table of Contents
loading

Table of Contents