Port 6; Port 6 Data Direction Register (P6Ddr) - Renesas H8S/2437 Hardware Manual

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

Advertisement

7.7

Port 6

Port 6 is an 8-bit I/O port. Port 6 pins also function as bidirectional data bus, SCI_2 I/O pins,
FRT_1 I/O pins, and TMRX_1 and TMRY_1 output pins. Port 6 functions change according to
the operating mode.
Port 6 has the following registers.

• Port 6 data direction register (P6DDR)

• Port 6 data register (P6DR)
• Port 6 register (PORT6)
• Port 6 pull-up MOS control register (P6PCR)
• Port 6 open-drain control register (P6ODR)
7.7.1
Port 6 Data Direction Register (P6DDR)
The individual bits in P6DDR specify input or output for the pins of port 6. The read value is
undefined.
Bit
Bit Name
7
P67DDR
6
P66DDR
5
P65DDR
4
P64DDR
3
P63DDR
2
P62DDR
1
P61DDR
0
P60DDR
Initial Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
Description
In normal extended mode (16-bit data bus)
Operation is not affected.
In normal extended mode (8-bit data
bus)/multiplex extended mode
Operates as single-chip mode
In single-chip mode
While a general I/O port function is selected, the
corresponding port 6 pin is an output port when
a P6DDR bit is set to 1, and an input port when
cleared to 0.
Rev. 1.00, 09/03, page 173 of 704

Advertisement

Table of Contents
loading

Table of Contents