Port B; Port B Data Direction Register (Pbddr) - Renesas H8S/2437 Hardware Manual

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

Advertisement

7.12

Port B

Port B is an 8-bit I/O port. Port B pins also function as TMR1_1 input pins, TMR1_0 output pins,
FRT_1 and timer connection_0 I/O pins, and timer connection_1 input pins.
Port B has the following registers.

• Port B data direction register (PBDDR)

• Port B data register (PBDR)
• Port B register (PORTB)
7.12.1
Port B Data Direction Register (PBDDR)
The individual bits in PBDDR specify input or output for the pins of port B. The read value is
undefined.
Bit
Bit Name
7
PB7DDR
6
PB6DDR
5
PB5DDR
4
PB4DDR
3
PB3DDR
2
PB2DDR
1
PB1DDR
0
PB0DDR
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 B pin is an output port when a
PBDDR bit is set to 1, and an input port when
cleared to 0.
Rev. 1.00, 09/03, page 205 of 704

Advertisement

Table of Contents
loading

Table of Contents