Port 5; Port 5 Data Direction Register (P5Ddr) - Renesas H8S/2437 Hardware Manual

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

Advertisement

7.6

Port 5

Port 5 is an 8-bit I/O port. Port 5 pins also function as TMR0_1 and TMR1_1 output pins, SCI_0
and SCI_1 I/O pins, and PWM output pins.
Port 5 has the following registers.

• Port 5 data direction register (P5DDR)

• Port 5 data register (P5DR)
• Port 5 register (PORT5)
7.6.1
Port 5 Data Direction Register (P5DDR)
The individual bits in P5DDR specify input or output for the pins of port 5. The read value is
undefined.
Bit
Bit Name
7
P57DDR
6
P56DDR
5
P55DDR
4
P54DDR
3
P53DDR
2
P52DDR
1
P51DDR
0
P50DDR
Rev. 1.00, 09/03, page 168 of 704
Initial Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
Description
While a general I/O port function is selected, the
corresponding port 5 pin is an output port when a
P5DDR bit is set to 1, and an input port when
cleared to 0.

Advertisement

Table of Contents
loading

Table of Contents