Port 1 Data Register (P1Dr); Port 1 Register (Port1) - Hitachi H8S/2628 Hardware Manual

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

Advertisement

9.1.2

Port 1 Data Register (P1DR)

P1DR is an 8-bit readable/writable register that stores output data for port 1 pins.
Bit
Bit Name
Initial Value
7
P17DR
0
6
P16DR
0
5
P15DR
0
4
P14DR
0
3
P13DR
0
2
P12DR
0
1
P11DR
0
0
P10DR
0
9.1.3

Port 1 Register (PORT1)

PORT1 is an 8-bit read-only register that shows the pin states.
PORT1 cannot be modified.
Bit
Bit Name
Initial Value
7
P17
Undefined*
6
P16
Undefined*
5
P15
Undefined*
4
P14
Undefined*
3
P13
Undefined*
2
P12
Undefined*
1
P11
Undefined*
0
P10
Undefined*
Note:* Determined by the states of pins P17 to P10.
Rev. 1.0, 09/02, page 126 of 568
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 1 read is performed while P1DDR bits are
set to 1, the P1DR values are read. If a port 1 read is
R
performed while P1DDR bits are cleared to 0, the pin
R
states are read.
R
R
R
R
R

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2628Hd6432628H8s/2627Hd6432627

Table of Contents