Pin Functions - Hitachi H8/3032 Series Hardware Manual

Table of Contents

Advertisement

Port 8 Data Register (P8DR): P8DR is an 8-bit readable/writable register that stores data for pins
P8
3
Bit
Initial value
Read/Write
When a bit in P8DDR is set to 1, if port 8 is read the value of the corresponding P8DR bit is
returned directly. When a bit in P8DDR is cleared to 0, if port 8 is read the corresponding pin level
is read.
Bits 7 to 4 are reserved. Bits 7 to 5 cannot be modified and always read 1. Bit 4 can be written and
read, but it cannot be used for port input or output. If bit 4 of P8DDR is read while its value is 1, bit
4 of P8DR is read directly. If bit 4 of P8DDR is read while its value is 0, it always reads 1.
P8DR is initialized to H'E0 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.

7.8.3 Pin Functions

The port 8 pins are also used for IRQ
Downloaded from
Elcodis.com
electronic components distributor
to P8
.
0
7
6
1
1
Reserved bits
5
4
3
P8
3
1
0
0
R/W
R/W
Port 8 data 4 to 0
These bits store data
for port 8 pins
to IRQ
. Table 7-12 describes the selection of pin functions.
3
0
148
2
1
0
P8
P8
P8
2
1
0
0
0
0
R/W
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents