English
Language : 

HD6417750RF240V Datasheet, PDF (183/606 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
Section 9 I/O Ports
9.6 Port C
Port C is an 8-bit I/O port that also has other functions. Port C has the following registers. For
details on register addresses and register states during each processing, refer to appendix A, On-
Chip I/O Register.
• Port C data direction register (PCDDR)
• Port C data register (PCDR)
• Port C register (PORTC)
• Port C MOS pull-up control register (PCPCR)
• Port C open-drain control register (PCODR)
9.6.1 Port C Data Direction Register (PCDDR)
PCDDR is an 8-bit write-only register, the individual bits of which specify whether the pins of
port C are used for input or output.
PCDDR cannot be read; if it is, an undefined value will be read.
Bit Bit Name
7 PC7DDR
6 PC6DDR
5 PC5DDR
4 PC4DDR
3 PC3DDR
2 PC2DDR
1 PC1DDR
0 PC0DDR
Initial Value R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
Description
When a pin is specified as a general purpose I/O
port, setting this bit to 1 makes the corresponding
port 1 pin an output pin. Clearing this bit to 0 makes
the pin an input pin.
Rev. 7.00 Sep. 11, 2009 Page 147 of 566
REJ09B0211-0700