Download Print this page

Hitachi H8S/2633 Hardware Manual page 357

Advertisement

10.2.2
Register Configuration
Table 10-2 shows the port 1 register configuration.
Table 10-2 Port 1 Registers
Name
Port 1 data direction register
Port 1 data register
Port 1 register
Note: * Lower 16 bits of the address.
Port 1 Data Direction Register (P1DDR)
Bit
:
P17DDR P16DDR P15DDR P14DDR P13DDR P12DDR P11DDR P10DDR
Initial value :
R/W
:
P1DDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port 1. P1DDR cannot be read; if it is, an undefined value will be read.
Setting a P1DDR bit to 1 makes the corresponding port 1 pin an output pin, while clearing the bit
to 0 makes the pin an input pin.
P1DDR is initialized to H'00 by a power-on reset, and in hardware standby mode. It retains its
prior state by a manual reset or in software standby mode. Because PPG, TPU, and DMAC are
initialized at a manual reset, pin states are determined by P1DDR and P1DR.
Port 1 Data Register (P1DR)
Bit
:
P17DR
Initial value :
R/W
:
R/W
P1DR is an 8-bit readable/writable register that stores output data for the port 1 pins (P17 to P10).
P1DR is initialized to H'00 by a power-on reset, and in hardware standby mode. It retains its prior
state by a manual reset or in software standby mode.
Abbreviation
P1DDR
P1DR
PORT1
7
6
0
0
W
W
7
6
P16DR
P15DR
0
0
R/W
R/W
W
R/W
R
5
4
0
0
W
W
5
4
P14DR
P13DR
0
0
R/W
R/W
Initial Value
H'00
H'00
Undefined
3
2
0
0
W
W
3
2
P12DR
P11DR
0
0
R/W
R/W
Address*
H'FE30
H'FF00
H'FFB0
1
0
0
0
W
W
1
0
P10DR
0
0
R/W
R/W
333

Advertisement

loading

This manual is also suitable for:

Hd6432633Hd6432631Hd64f2633H8s/2632Hd6432632H8s/2631