Port B Data Register (Pbdr); Port B Register (Portb) - Hitachi H8S/2628 Hardware Manual

H8s/2628 series 16-bit single-chip microcomputer
Table of Contents

Advertisement

9.7.2

Port B Data Register (PBDR)

PBDR is an 8-bit readable/writable register that stores output data for the port B pins.
Bit
Bit Name
Initial Value
7
PB7DR
0
6
PB6DR
0
5
PB5DR
0
4
PB4DR
0
3
PB3DR
0
2
PB2DR
0
1
PB1DR
0
0
PB0DR
0
9.7.3

Port B Register (PORTB)

PORTB is an 8-bit read-only register that shows port B pin states.
Bit
Bit Name
Initial Value
7
PB7
0
6
PB6
0
5
PB5
0
4
PB4
0
3
PB3
0
2
PB2
0
1
PB1
0
0
PB0
0
Note:*
Determined by the states of pins PB7 to PB0.
R/W
Description
R/W
Output data for a pin is stored when the pin is
specified as a general purpose I/O port.
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Description
R
If a port B read is performed while PBDDR bits are
set to 1, the PBDR values are read. If a port B read is
R
performed while PBDDR bits are cleared to 0, the pin
R
states are read.
R
R
R
R
R
Rev. 1.0, 09/02, page 143 of 568

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2628Hd6432628H8s/2627Hd6432627

Table of Contents