Port C; Port C Data Direction Register (Pcddr); Port C Data Register (Pcdr) - Renesas H8S/2437 Hardware Manual

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

7.13

Port C

Port C is an 8-bit I/O port. Port C pins also function as IIC3_2 and IIC3_3 I/O pins and on-chip
emulator I/O pins. The output format for PC0 to PC3 which are general I/O ports is NMOS push-
pull output. PC4 to PC7 which are general input ports are not supported by the on-chip emulator.
Port C has the following registers.

• Port C data direction register (PCDDR)

• Port C data register (PCDR)

• Port C register (PORTC)
7.13.1
Port C Data Direction Register (PCDDR)
The individual bits in PCDDR specify input or output for the pins of port C. The read value is
undefined.
Bit
Bit Name
7 to 4 
3
PC3DDR
2
PC2DDR
1
PC1DDR
0
PC0DDR
7.13.2
Port C Data Register (PCDR)
PCDR stores output data for the port C pins.
Bit
Bit Name
7 to 4 
3
PC3DR
2
PC2DR
1
PC1DR
0
PC0DR
Rev. 1.00, 09/03, page 210 of 704
Initial Value
R/W
All 0
W
0
W
0
W
0
W
0
W
Initial Value
R/W
All 0
W
0
R/W
0
R/W
0
R/W
0
R/W
Description
Reserved
These bits cannot be modified.
While a general I/O port function is selected, the
corresponding port C pin is an output port when a
PCDDR bit is set to 1, and an input port when
cleared to 0.
Description
Reserved
The initial value should not be changed.
PCDR stores output data for the port C pins that
are used as the general output ports.

Advertisement

Table of Contents
loading

Table of Contents